Christian Dietrich
1969166a60
fixed getEntryParserRule with actions [ eclipse/xtext-xtend#1018 ]
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-05 19:44:12 +01:00
Nico Prediger
7c82447f16
[releng] Update Xtext version to 2.22.0
...
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-03-03 12:00:56 +00:00
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
Sebastian Zarnekow
04aedc416e
Merge pull request #1358 from rablewis/1262
...
[#1262 ] Prevent infinite loop with NodeIterator.
2020-02-03 09:35:28 +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
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
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
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
3641ec9a97
[ #1343 ] Fix invalid link in javadoc.
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-01-07 20:53:00 +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
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
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
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
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
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
Christian Dietrich
b7589ed9c5
fixed unused import
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-22 12:22:04 +01:00
Christian Dietrich
8f89743894
Merge pull request #1253 from tisis2/fix#1252
...
[eclipse/xtext-core#1252 ] filter for contained resource descriptions
2019-11-19 10:15:12 +01:00
gabrield
acdd7c8482
add the since tags
...
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-11-19 09:41:40 +01:00
gabrield
49447a65aa
remove behavior changes of getExportedObjectsByType
...
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-11-19 08:35:04 +01:00
Sebastian Zarnekow
0db28cc4c2
Add output folders to build.properties
2019-11-18 08:42:38 +01:00
Sebastian Zarnekow
e814a7d8dd
Fixed build.properties, fixed a few warnings on the go
2019-11-18 08:42:38 +01:00
Sebastian Zarnekow
bbbdf68391
Added missing build.properties, fixed a couple of warnings
2019-11-18 08:42:38 +01:00
Christian Dietrich
98bd79e264
[ eclipse/xtext#1504 ] added Eclipse-SourceReferences to manifests
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-15 12:28:44 +01:00
Christian Dietrich
dbb27240a2
log deprecation warning if xtend based postprocessor is used
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-11 15:14:12 +01:00
Sebastian Zarnekow
d58d1ea7e4
Merge pull request #1273 from eclipse/sz_issue1573
...
[eclipse/xtext#1573 ] Ensure that all plugins do have a ManifestBuilder
2019-11-04 16:55:55 +01:00
Sebastian Zarnekow
9f8aee979a
[ eclipse/xtext#1573 ] Ensure that all plugins do have a ManifestBuilder
2019-11-04 14:34:21 +01:00
Karsten Thoms
3a4ec33e7c
Merge pull request #1268 from eclipse/kt_issue1569_1
...
[eclipse/xtext#1569 ] Refactor Xtend to Java
2019-11-04 14:32:35 +01:00
Karsten Thoms
5703d41f3a
[ 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. Performed
source cleanup action.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-04 12:53:45 +01:00
Karsten Thoms
5e70dd0360
Merge pull request #1269 from eclipse/kt/issue1569/3
...
[eclipse/xtext#1569 ] Refactor Xtend to Java
2019-11-04 12:34:24 +01:00
Karsten Thoms
4eba252aa9
[ 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.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-04 12:33:52 +01:00
Sebastian Zarnekow
eea345fba1
[eclipse/xtext#1569] Migrate Xtend code to Java ( #1270 )
...
* Migrate Xtend code to Java
* Apply auto-formatting and cleanup actions
* Add `@since` tags
see eclipse/xtext#1569
2019-10-31 16:06:12 +01:00
Karsten Thoms
85db097d56
[ eclipse/xtext#1569 ] Refactor Xtend to Java
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-10-30 14:42:09 +01:00
Sebastian Zarnekow
b1b444f504
[ eclipse/xtext#1567 ] Upgrade to asm 7.2
2019-10-27 16:24:43 +01:00
gabrield
ca071ea58d
added a factory method to create the StateBasedContainer and expose its
...
state as getter
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-10-17 08:34:32 +02:00
gabrield
51d4cb204b
get the resource descriptions by uri seems to be faster than filtering
...
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-10-17 08:34:13 +02:00
Christian Dietrich
10fa244c1b
[ eclipse/xtext#1486 ] made png transparent
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-10-12 18:50:42 +02:00
gabrield
73f1f3e4e0
[ eclipse/xtext-core#1252 ] filter for contained resource descriptions
...
before any other filter operation
there is a performance benefit, when first exclude all irrelevant
resources before considering their IEObjectDescriptions
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-10-11 10:47:31 +02:00
Tamas Miklossy
78254b5b83
[ https://github.com/eclipse/xtext/issues/1486 ]
...
- Remove unnecessary modeling32.png file and all the references to it.
The modeling32.png file has been replaced by the xtext32.png file.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-09-28 15:07:48 +02:00
Tamas Miklossy
ee1e91935a
[ https://github.com/eclipse/xtext/issues/1486 ]
...
- Add xtext32.png to the build.gradle file.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-09-26 08:20:14 +02:00
Tamas Miklossy
10a911a94c
[ https://github.com/eclipse/xtext/issues/1486 ]
...
- Use xtext32.png instead of modeling32.png for the feature image.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-09-25 16:47:55 +02:00
Christian Dietrich
00897b1b35
[ eclipse/xtext#1550 ] set default compliance level to 8.0
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-09-23 11:27:08 +02:00
Christian Dietrich
065dd11210
regenerated xtext
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-09-23 10:54:50 +02:00
Karsten
365ba15867
[releng] Set version to 2.20.0
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-09-03 15:24:30 +00:00
Mark Christiaens
07de69b2bc
Intern grammar elements when nodes are created from the cache ( #1233 )
...
* Intern grammar elements when nodes are created from the cache
The node model contains nodes derived from AbstractNode. An
AbstractNode has an array describing its grammar elements. This array
is often identical for many AbstractNodes. There can be millions of
nodes in a node model so it makes sense to remove the duplicate arrays.
This GrammarElementsInterner tries to reuse an interned version of
such an array wherever possible. In particular, now we also intern
grammar elements when they are created during the load of a node model
from the node model cache.
Testing this modification on a largisch project showed that the
execution time of a clean build that accesses the node model cache
reduces by around 10%.
Signed-off-by: Mark Christiaens <mark.christiaens@sigasi.com>
2019-09-03 15:54:44 +02:00
Sebastian Zarnekow
ac801dc64b
[ eclipse/xtext-lib#224 ] Stable method order when using Delegate annotation
2019-08-13 21:56:42 +02:00
Christian Dietrich
95a94bdd49
fixed broken javadoc
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-07-29 14:27:47 +02:00
mmews
a1566e10b3
extend ISourceFolder for precise file filtering
...
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-07-22 09:42:44 +02:00
Christian Dietrich
91a5c3bb81
[ #1190 ] fixed bug where formatter "destroys" its own config
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-06-27 16:47:11 +02:00
Lorenzo Addazi
c6c34d2541
[ eclipse/xtext-core#1161 ] Added configurable issue for generated java package names not conforming to Java package naming conventions (Default: Ignore).
...
Signed-off-by: Lorenzo Addazi <lorenzo.addazi@mdh.se>
2019-06-25 14:30:40 +02:00
Nico Prediger
c9a07291d8
[ eclipse/xtext#1474 ] Prepare Master for 2.19
...
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2019-06-03 14:02:18 +02:00
Sebastian Zarnekow
4450b57242
Improved performance of validation for keyword heavy languages
2019-05-14 15:48:59 +02:00
Arne Deutsch
23e73a25d4
[ eclipse/xtext#1440 ] Update to ASM 7.1.0.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-05-02 13:09:19 +02:00
Sebastian Zarnekow
d5d8ffd965
[ #748 ] Remove caliper benchmarks
2019-04-15 19:58:03 +02:00
Christian Dietrich
540b8ecc86
Merge pull request #1123 from lievenlemiengre/nodemodelbuilder
...
Performance improvement of array interning in NodeModelBuilder
2019-04-15 09:05:21 +02:00
Jan Koehnlein
7ebd587d0c
[lsp] some build performance tuning
...
When a resource is loaded for the first time, there is no need to unload it between pre-indexing and build
2019-04-12 10:05:01 +02:00
Lieven Lemiengre
20a09fc980
Performance improvement of array interning in NodeModelBuilder
...
Signed-off-by: Lieven Lemiengre <lieven.lemiengre@sigasi.com>
2019-04-11 21:56:55 +02:00
Holger Schill
fe96a20cf9
Remove IDEA since the support has been dropped.
...
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2019-04-02 08:48:56 +02:00
Dennis Huebner
312e236ec3
Merge pull request #1044 from eclipse/dh-serializer
...
[ide] Bogus serialization when reassign container #1043
2019-03-18 15:35:55 +01:00
Christian Dietrich
51977631e7
added missing getter/setter for operationCanceledManager
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-17 15:53:28 +01:00
Karsten Thoms
6c0d14bdf8
Cleanup WS formatting in package org.eclipse.xtext.build
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-03-13 21:41:54 +01:00
Christian Dietrich
f8708cefd5
[ eclipse/xtext#1414 ] prepared master for version 2.18.0
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-05 16:47:14 +01:00
Sebastian Zarnekow
92a3fc77b0
Added x-friend to xtext.xtext.ui.tests
2019-02-26 18:49:08 +01:00
Sebastian Zarnekow
edeb506431
Make injection of the CompositeEValidator work
2019-02-26 18:29:10 +01:00
Dennis Huebner
e807fecdbe
[ide] Bogus serialization when reassign container #1043
...
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2019-02-21 09:03:07 +01:00
Sebastian Zarnekow
787ef1d8bd
Merge pull request #1033 from epoell/ep_issue1021
...
Replaced ThreadLocal state.set(null) with state.remove() in AbstractDeclarativeValidator
2019-02-20 10:58:22 +01:00
Eva Poell
a5bcb66f26
[ #1034 ] corrected code formatting
...
Signed-off-by: Eva Poell <epoell@itemis.com>
2019-02-19 16:12:46 +01:00
Eva Poell
673a7ee1d8
[ #1034 ] Added Validation that entry rule is not a fragment
...
Signed-off-by: Eva Poell <epoell@itemis.com>
2019-02-19 09:01:42 +01:00
Eva Poell
084ac859fd
Solve Issue 1021
...
Replaced ThreadLocal state.set(null) with state.remove(). And tried to decrement the calls of state.get() by keeping it in a variable if possible.
Might need a closer look, if this works.
Signed-off-by: Eva Poell <epoell@itemis.com>
2019-02-14 09:42:10 +01:00
Sebastian Zarnekow
53756198b2
Merge pull request #1030 from eclipse/kt_findInstantiableCompatible
...
[performance] Improve isInstantiatableSubType
2019-02-11 22:25:04 +01:00
Karsten Thoms
e00313cff2
[performance] Short cut findInstantiableCompatible
...
Avoid calling isInstantiatableSubType to reduce number of conditions to
check until identity is checked.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-11 21:12:34 +01:00
Karsten Thoms
bf0546ba3b
isAssignableFrom: check both args for null & identity
...
Added covering test case
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-11 21:08:32 +01:00
Sebastian Zarnekow
e34bcf8a71
Merge pull request #1024 from eclipse/sz_classpath
...
Make bin/main also the default output directory to avoid buildship confusion
2019-02-11 08:49:30 +01:00
Christian Dietrich
dfe72b83c0
fixed some javadocs
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-10 22:25:11 +01:00
Sebastian Zarnekow
09c3ceac85
Make bin/main also the default output directory to avoid buildship confusion
2019-02-10 14:55:03 +01:00
Karsten Thoms
98a17c35da
[ eclipse/xtext#1274 ] Updated .classpath by Gradle
...
Changes done by Buildship 3.0.1.v20181217-1554
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-07 17:03:45 +01:00
Sebastian Zarnekow
64e0edcb76
Bootstrap Xtext
2019-02-05 14:21:50 +01:00
Karsten Thoms
929b393e75
[ #985 ] Make exception handling for validation code customizable
...
Added AbstractDeclarativeValidator#handleExceptionDuringValidation to
allow overriding of the default exception handling behavior. Clients
especially may want to propagate or handle NPEs more decent than just
swallowing it.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-05 10:04:34 +01:00
Sebastian Zarnekow
f665cfa984
Merge pull request #984 from eclipse/kth_issue983
...
[#983 ] Make issue message customizable
2019-02-04 11:19:22 +01:00
Christian Dietrich
175d7bc975
set minimal mwe version to the one from oxygen
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-01 10:39:20 +01:00
qdagans
703bd62f09
427770: Improve ResourceSetBasedAllContainersStateProvider.getResourceSet
...
Short:
Implement solution mentioned in above BUG report.
Longer:
Bug (?) can be triggered by e.g.:
IResourceServiceProvider sp = IResourceServiceProvider.Registry.INSTANCE.getResourceServiceProvider(fileUri);
IResourceSetProvider provider = sp.get(IResourceSetProvider.class);
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
// ... file etc
IProject project = file.getProject();
// Use the provider to get the resource set for the given project
// FIXME how to get the existing XtextResourceSet? Below just creates a new rs. :-(
ResourceSet rs = provider.get(project);
// ... run build to generate index used by namespace etc
BuildRequest request = new BuildRequest();
request.setResourceSet(rs);
request.setBaseDir(UriUtil.createFolderURI(new File(baseDir)));
request.setDirtyFiles(allFiles);
// ... copy paste code ...
indexState = incrementalBuilder.build(request, languages).getIndexState();
Hints for doing this correctly/cleaner is highly appreciated!
After the code above has been triggered doing a Project Clean will
trigger method from title to be called with a CurrentDescriptions.
Note that this commit goes together with a commit in xtext-eclipse (see
fork).
Signed-off-by: Anders Dahlberg <anders.xb.dahlberg@ericsson.com>
2019-01-24 16:45:47 +01:00
Sebastian Zarnekow
ecc7ae0bc3
[eclipse/xtext#1249] use bom for version management ( #988 )
2019-01-11 16:41:50 +01:00
Karsten Thoms
666779139d
[ #983 ] Make exception based diagnostic creation customizable
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-12-18 07:41:04 +01:00
Christian Dietrich
1b4f6c78a4
change version 2.16.0 -> 2.17.0
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-12-05 09:48:47 +01:00
Dennis Huebner
9a2696a017
Fixed typo
...
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-11-21 13:21:05 +01:00
Dennis Huebner
28d7c94ed5
[trace] Improved implementation for GeneratorNodeProcessor.Context
...
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-11-21 11:48:19 +01:00
Karsten Thoms
4b10068a79
[ eclipse/xtext-eclipse#900 ] Use org.eclipse.xtend.typesystem.emf version
...
2.2.0
Use latest from Oxygen TP
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-18 22:07:17 +01:00
Karsten Thoms
e6bd78ae7f
Merge pull request #963 from eclipse/kth_issue1168
...
[eclipse/xtext#1168 ] Minimal target platform Oxygen.3a
2018-11-17 09:59:45 +01:00
Karsten Thoms
37172c68dd
[ eclipse/xtext#1168 ] Minimal target platform Oxygen.3a
...
Update lower bound version constraints on platform related bundles with
versions from an Oxygen.3a platform.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-14 17:27:50 +01:00
Karsten Thoms
6b522695c1
[ #959 ] hasAnnotation: Add null guard
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-14 04:43:51 +01:00
Karsten Thoms
34c8c53468
Revert last commit
...
Accidently pushed to master instead to bugfix branch
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-14 04:40:49 +01:00
Karsten Thoms
8e53832b18
[ #959 ] hasAnnotation: Add null guard
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-14 04:36:54 +01:00
Sebastian Zarnekow
e8850a77ec
Cleanup some warnings
2018-11-09 15:59:28 +01:00
Sebastian Zarnekow
5ddfcadce9
Improved JavaStringConverter after heavy benchmark session
2018-11-09 11:14:32 +01:00
Sebastian Zarnekow
fa00a330ac
Base the STRINGValueConverter on the reusable new JavaStringConverter
2018-11-09 11:14:32 +01:00
Tamas Miklossy
50b0c5b3a9
Refactoring the JavaDoc Reference Support.
...
- Add the computeEObjectReferencedInComment(XtextResource,
int) method to the IJavaDocTypeReferenceProvider interface.
- Add implementation to the MultiLineJavaDocTypeReferenceProvider class.
See also https://github.com/eclipse/xtext-xtend/issues/372
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2018-11-08 19:07:57 +01:00
Christian Dietrich
4af6181d2e
review feedback
...
- indentation
- make counter limit protected
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-07 12:40:21 +01:00
Christian Dietrich
b75cdd0970
[ #844 ] Performance optimization for lazy linking cycle detection
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-05 11:51:53 +01:00
Christian Dietrich
9515372b39
[ eclipse/xtext#1325 ] switch to ASM 7
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-10-31 12:51:25 +01:00
Kulla Christoph
c7e3deacd9
Fix race condition when getting the grammar ( fixes #906 )
...
Signed-off-by: Kulla Christoph <christoph.kulla@de.bosch.com>
2018-10-15 13:55:10 +02:00
Christian Dietrich
ac598a676d
fixed javadoc
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-10-12 21:44:12 +02:00
Tamas Miklossy
2764048fe4
Fix a typo in the javadoc of the DefaultCommentAssociater class.
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2018-10-05 16:09:22 +02:00
Karsten Thoms
2b7e2b4609
[ eclipse/xtext#1272 ] Compile with Xtend 2.15
...
Order of static & final modifiers changed
(eclipse/xtext-xtend#554 )
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-21 17:45:41 +02:00
Karsten Thoms
cad7d13c31
Merge remote-tracking branch 'origin/release_2.15.0' into kth_merge_release
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
# Conflicts:
# gradle/versions.gradle
# releng/pom.xml
2018-09-16 07:59:59 +02:00
Karsten Thoms
72501e9af8
[trivial] Added whitespace
...
if and catch keywords are usually followed by one space
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-16 07:52:36 +02:00
Sebastian Zarnekow
78a91474af
Fixed another location with duplicated code
2018-09-16 00:24:30 +02:00
Tamas Miklossy
b0563c0947
Fix typo 'recordedErrros'->'recordedErrors' in CrossReferenceSerializer.
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2018-09-14 13:57:51 +02:00
Christian Dietrich
2f0f093fb5
updated versions to 2.16.0
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-09-03 11:11:51 +02:00
Christian Dietrich
26a8247033
Merge pull request #848 from eclipse/cd_issue261_b
...
[xtext/xtext-gradle-plugin#120 ] performance optimization java source lang
2018-08-30 09:18:08 +02:00
Christian Dietrich
f3457dbe9e
Merge pull request #846 from eclipse/xtext-core-845-task-marker-collections
...
[#845 ] Avoid creation of collections if not necessary.
2018-08-29 18:57:03 +02:00
Arne Deutsch
e389e23880
[ #845 ] Avoid creation of collections if not necessary.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-29 18:17:33 +02:00
Sebastian Zarnekow
f4f7607975
Refined solution to better match the other value converter messages
2018-08-29 17:10:59 +02:00
Sebastian Zarnekow
c9f659bf92
Merge branch 'wi_issue525' of git://github.com/waqasilyas/xtext-core into waqasilyas-wi_issue525
2018-08-29 17:06:44 +02:00
Christian Dietrich
1639c0a2b0
Merge pull request #839 from eclipse/cd_issue1266_asm62
...
[eclipse/xtext#1266 ] Update to ASM 6.2
2018-08-29 14:38:30 +02:00
Christian Dietrich
a2250de55e
[ eclipse/xtext#1266 ] Update to ASM 6.2
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-29 14:37:03 +02:00
Arne Deutsch
40333a7257
[ eclipse/xtext-eclipse#809 ] Cache task marker pattern for performance
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-29 14:06:45 +02:00
Sebastian Zarnekow
39ad0d05a6
Added slightly more efficient way to create QualifiedNames
2018-08-28 23:46:38 +02:00
Sebastian Zarnekow
4da2fbf082
Refined API of DefaultDeclarativeQualifiedNameProvider
2018-08-28 17:26:43 +02:00
Sebastian Zarnekow
88ced22ef3
Performance tuning for the incremental builder
...
Especially for projects with many files, the on-demand requested services
from the resource service provider are expensive. This reduces these attempts
by introducing intermediate data objects, making services a singleton or
using the known resource service provider that is available as a field on
XtextResource instances.
2018-08-28 16:55:56 +02:00
Sebastian Zarnekow
6f2253cb3e
Allow to circumvent the expensive copying of URI sets in the SourceLevelURIsAdapter
2018-08-28 16:54:22 +02:00
Sebastian Zarnekow
2c405104ff
Made DefaultDeclarativeQualifiedNameProvider easier to customize
2018-08-28 16:49:37 +02:00
Titouan Vervack
2dbb39ebc0
Fixed typo in IQualifiedNameConverter
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-08-20 12:32:29 +02:00
Titouan Vervack
9010afb07f
Merge pull request #810 from eclipse/TargetURIConverter_non_ui
...
Added TargetURIConverter to non UI
2018-08-07 10:25:14 +02:00
Titouan Vervack
496fecef26
Added TargetURIConverter to non UI
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-08-07 10:21:23 +02:00
Christian Dietrich
06ab1b01ad
[ #221 ] Fixed Templats
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-06 10:00:40 +02:00
Akos Kitta
b0c664fd76
GH-798: Increased the visibility of the stateful incremental builder.
...
Added `protected` setters for the build context and the request.
Replaced the context and request assignments with setter calls.
Closes #798 .
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2018-07-30 09:14:33 +02:00
Christian Dietrich
1e36a3b7c9
[ #790 ] Search Check annotation only once
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-18 19:11:30 +02:00
Christian Dietrich
0277b89235
[ eclipse/xtext#1231 ] fixed jdt and platform versions
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-03 19:24:04 +02:00
Christian Dietrich
58b683d085
[474468][ eclipse/xtext-core#778 ] Fix bogus validation in MaxLineWidthDocument
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-06-27 20:32:06 +02:00
Titouan Vervack
08d59c6e4d
Added equals to Task and TaskTag making TaskAssert useless
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-06-04 18:46:03 +02:00
Karsten Thoms
d627e9aad4
Merge pull request #754 from eclipse/develop_2.15.0
...
[release] Increment version to 2.15.0
2018-05-26 10:37:56 +02:00
Christian Dietrich
7b55d9b0d0
Merge pull request #752 from tivervac/taskTagsDuplicateKeys
...
Fixed duplicate key insertion with task tags
2018-05-24 21:25:50 +02:00
Titouan Vervack
b3717cc478
Fixed typo in EObjectDiagnosticImpl
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-05-24 18:41:15 +02:00
Titouan Vervack
e91be2aee3
Fixed duplicate key insertion with task tags
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-05-24 18:29:38 +02:00
Karsten Thoms
7dcc65bb2e
[release] Increment version to 2.15.0
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-22 23:53:44 +02:00
Jan Koehnlein
42dda5e9d3
[serializer] relax API
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2018-05-22 14:45:09 +02:00
Moritz Eysholdt
42be5d030d
fixes #739 : Potential NPE during ChangeSerialization
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-05-17 16:39:37 +02:00
Karsten Thoms
81ceecd9ff
Update copyright
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-15 06:10:10 +02:00
Christian Dietrich
be7a958127
[ #716 ] [LSP] Problems for a deleted file are shown after deletion
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-25 14:29:38 +02:00
Christian Dietrich
de25d13970
[ eclipse/xtext#1190 ] Narrowed the version range for asm to [6.1.1,6.2.0)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-23 13:01:11 +02:00
Christian Dietrich
497b70425c
added missing since
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-20 18:52:22 +02:00
Christian Dietrich
ef9817b9a8
Merge pull request #696 from ArneDeutsch/xtext-eclipse-599
...
[eclipse/xtext-eclipse#599 ] Support waiting operation.
2018-04-20 18:49:24 +02:00
Arne Deutsch
693c7e420c
[ eclipse/xtext#1177 ] Update ASM to 6.1.1 and JDT Core to 3.13.102.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-17 07:37:44 +02:00
Arne Deutsch
f826570410
[ eclipse/xtext-eclipse#599 ] Support waiting operation.
...
ActiveAnnotationProcessors might run in parallel. Read operations should
wait until all write operations are ready to avoid race conditions.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-11 13:39:59 +02:00
Moritz Eysholdt
5804e8b6bc
Fix eclipse/xtext-xtend#408 : Allow mismatching node model
...
Because quick fixes change the model and can cause any kind of mismatch
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-04-05 17:10:21 +02:00
Titouan Vervack
4f702ddc7a
Added throw keyword to Throwables.propagate
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-30 11:58:41 +02:00
Titouan Vervack
57af220521
Fixed guava compatibility issue
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:26:41 +02:00
Titouan Vervack
0ea85189c8
Fixed warnings
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:18:18 +02:00