Karsten Thoms
4bdb317e10
Return empty list instead of null
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-02-08 16:26:12 +01:00
Christian Dietrich
26e06d1f26
implemented review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-01-26 11:43:48 +01:00
Christian Dietrich
26d6870c88
[ #550 ] Cache AbstractInternalAntlrParser.createAllRules
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-01-26 10:08:02 +01:00
Christian Dietrich
5292c344c6
Merge pull request #613 from eclipse/cd_issue611
...
[#611 ] Fixed broken/outdated javadoc
2018-01-23 07:17:37 +01:00
Karsten Thoms
809377cd27
[420984] Compiler optimization: Suppress creation of unused exception variable
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 14:54:22 +01:00
Karsten Thoms
90cef27ab4
[ eclipse/xtext#1160 ] Update copyright date range
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 09:11:22 +01:00
Karsten Thoms
134c788006
[ eclipse/xtext#1160 ] Update copyright date range
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-15 16:28:39 +01:00
Christian Dietrich
d1d596d64b
[ #611 ] Fixed broken/outdated javadoc
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-01-15 13:26:35 +01:00
Arne Deutsch
7b1bb9d188
[ eclipse/xtext-eclipse#145 ] Create new implementations in core.
...
Move implementation from CopyQualifiedNameService and
DefaultCopyQualifiedNameService to xtext core plugin.
Rename CopyQualifiedNameService to ICopyQualifiedNameService.
Document the interface.
Move to public API package "org.eclipse.xtext.naming".
Change-Id: I3ffdbbcda641cc4f70396f4274e42934e4248278
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-01-11 09:56:49 +01:00
Florian Stolte
3a740a437e
[ eclipse/xtext#1155 ] Cleaned up javadoc to remove some warnings.
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-19 12:04:05 +01:00
Karsten Thoms
d5e6578a6d
Merge pull request #588 from FStolte/issue1152
...
[eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
2017-12-18 10:04:26 +01:00
Florian Stolte
1bc930b5b6
[ eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
...
- added header to existing manifest files
- added header to manifest generation in xtext generator and wizard
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-14 14:16:20 +01:00
Christian Dietrich
c3893bc200
Duplicate @Named ids in AbstractMultiLineCommentProvider https://github.com/eclipse/xtext/issues/1153
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-14 13:34:46 +01:00
Christian Dietrich
c7ab2c7b32
Merge pull request #578 from FStolte/issue570
...
[#570 ] Added error message for invalid override
2017-12-13 12:39:30 +01:00
Florian Stolte
6b9d505b07
[ #570 ] Added error message for invalid override.
...
- rules with an @Override annotation in a grammar without super grammar
now correctly display an error
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-13 12:23:06 +01:00
Florian Stolte
9d6f9434a1
Fixed a typo in XtextValidator.
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-13 10:53:40 +01:00
Christian Dietrich
1894da8a38
made code of resource storage facade more consistent
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-12 16:32:33 +01:00
Jan Koehnlein
9e4087bf5b
GH-520 more tests for live scoping
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-12-06 08:51:30 +01:00
Jan Koehnlein
2c0b77541a
[cleanup] various typos
2017-12-05 20:56:55 +01:00
Jan Koehnlein
15b13a279d
GH-520 allow shadowed resource descriptions in language server scenario
2017-12-05 20:56:55 +01:00
Sebastian Zarnekow
c4b4c8e4a9
Merge pull request #565 from eclipse/sz_stableSyntacticSequencerOrder
...
Make generated code in syntactic sequence more stable
2017-12-01 19:23:26 +01:00
Sebastian Zarnekow
e48a062d2b
Make generated code in syntactic sequence more stable
2017-12-01 12:41:32 +01:00
Christian Dietrich
3b4910adae
more review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 11:38:35 +01:00
Christian Dietrich
d9e4a5d265
more review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 11:37:27 +01:00
Christian Dietrich
bb9b15316b
implemented review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 11:11:13 +01:00
Christian Dietrich
6997cb0697
[tracing] NPE thrown when a file is generated without traces https://github.com/eclipse/xtext-core/issues/359
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 09:54:43 +01:00
Christian Dietrich
67a36a5b64
Merge pull request #563 from eclipse/cd_core_issue544
...
moved 'copy java problems' configurable issue code to xtext core
2017-11-30 10:35:59 +01:00
Christian Dietrich
94a43ed825
moved 'copy java problems' configurable issue code to xtext core https://github.com/eclipse/xtext-core/issues/544
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-30 10:07:19 +01:00
Karsten Thoms
f3d2655cab
Refactoring & additional tests
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-29 16:35:30 +01:00
Karsten Thoms
e3baf9ede5
[refactoring] formatting
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-29 08:57:38 +01:00
Florian Stolte
c322f3e73a
[ #556 ] Added test for TextRegionsToString::quote
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-22 16:55:51 +01:00
Florian Stolte
22820aac32
[ #555 ] Fix for issue.
...
Since windows line endings are replaced by unix line endings - i.e. the
"\r" character is removed -, the result string can be shorter than the
input string.
Since the loop iterating over the characters of the input string is
limited to "maxLength + 1" iterations, the check "result.size() >
maxLength" did not give the desired result in the presence of windows
line endings.
Now, the number of iterations is incremented when a character is deleted
from the string.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-22 14:04:02 +01:00
Karsten Thoms
07b182918c
Merge pull request #529 from eclipse/me/newline_fix
...
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-22 12:17:49 +01:00
Karsten Thoms
c22e0bb047
Merge pull request #549 from FStolte/refactoring
...
Refactoring: Cleaning up warnings
2017-11-15 17:32:25 +01:00
Florian Stolte
2a503da006
Refactoring: Cleaning up warnings.
...
Removed four unused imports and one unused local variable declaration.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-15 15:54:57 +01:00
fstolte
88fdbc819f
[ #537 ] Added null guards.
...
Added null guards to all relevant public methods of the Serializer
class.
Signed-off-by: fstolte <fstolte@itemis.de>
2017-11-15 11:33:50 +01:00
Christian Dietrich
dfa56bfc2e
fixed formatting of annotations (e.g. @Override) in Xtext Grammars #534
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-08 22:29:43 +01:00
Christian Dietrich
84533e40f1
fixed formatting of annotations (e.g. @Override) in Xtext Grammars #534
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-08 22:16:22 +01:00
Moritz Eysholdt
f41d82c540
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-08 08:48:31 +01:00
Christian Dietrich
4960af9c0a
set version to 2.14
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-27 09:03:34 +02:00
Moritz Eysholdt
ee2d61b332
[textRegionAccess] grammar elements may be TerminalRules
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-18 19:54:34 +02:00
Christian Dietrich
5f2b37de0f
widened version range for asm to include version 6 https://github.com/eclipse/xtext-core/issues/501
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-13 10:32:42 +02:00
Moritz Eysholdt
5c293fb6c4
Made another value converter null-safe
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-12 09:50:46 +02:00
Moritz Eysholdt
d68ca48a55
Fix an NPE during ValueConversion of xtext.xtext.GrammarID
...
java.lang.NullPointerException: null
at
org.eclipse.xtext.xtext.XtextValueConverters$1.internalToValue(XtextValueConverters.java:44)
at
org.eclipse.xtext.xtext.XtextValueConverters$1.internalToValue(XtextValueConverters.java:40)
at
org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter.toValue(AbstractNullSafeConverter.java:31)
at
org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService.toValue(AbstractDeclarativeValueConverterService.java:79)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.getQualifiedName(ReferenceUpdater.java:124)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.needsUpdating(ReferenceUpdater.java:146)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.update(ReferenceUpdater.java:172)
at
org.eclipse.xtext.ide.serializer.impl.RecordingXtextResourceUpdater.applyChange(RecordingXtextResourceUpdater.java:70)
at
org.eclipse.xtext.ide.serializer.impl.ChangeSerializer.endRecordChanges(ChangeSerializer.java:136)
at
org.eclipse.xtext.ide.serializer.impl.ChangeSerializer.applyModifications(ChangeSerializer.java:75)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter$1.lambda$1(WorkbenchMarkerResolutionAdapter.java:131)
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter$1.execute(WorkbenchMarkerResolutionAdapter.java:139)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter.run(WorkbenchMarkerResolutionAdapter.java:142)
at
org.eclipse.xtext.xtext.ui.editor.quickfix.XtextGrammarQuickfixProviderTest.assertAndApplyAllResolutions(XtextGrammarQuickfixProviderTest.java:172)
at
org.eclipse.xtext.xtext.ui.editor.quickfix.XtextGrammarQuickfixProviderTest.testFixAllEmptyEnumLiteral(XtextGrammarQuickfixProviderTest.java:106)
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 19:02:45 +02:00
Moritz Eysholdt
85f07a23c0
[textRegionAccess] make accessing EStructuralFeatures easier
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 14:54:40 +02:00
Christian Dietrich
81df41e85b
removed unused imports
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-05 08:26:22 +02:00
Jan Koehnlein
08ab8fe119
GH-488 fixed DefaultReferenceDescription test
...
We need the fragment path URIs in the renam scenario only
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-10-02 20:56:19 +02:00
Jan Koehnlein
dd3513b8a9
[refactoring] Fixes in core for https://github.com/eclipse/xtext-eclipse/issues/284
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-10-02 18:08:52 +02:00
Christian Dietrich
abc098556c
Merge pull request #484 from tkutz/tku_templateNodeWhitespace
...
#483 : Remove last whitespaces only when appending separator in for-loops
2017-10-01 21:26:50 +02:00
Knut Wannheden
ea7e45a602
#481 : Improve performance of ResourceStorageLoadable
...
Wrap ZipInputStream in a BufferedInputStream before reading from it with
with a DataInputStream or ObjectInputStream. This improves performance
quite significantly (overall roughly by a factor 4), as the
decompression works much more efficiently with larger chunks of data.
Signed-off-by: Knut Wannheden <knut.wannheden@paranor.ch>
2017-10-01 21:23:32 +02:00
Thomas Kutz
0b74443d41
[ #483 ] Append trailing whitespaces and newlines after appending separator in for-loops
...
Signed-off-by: Thomas Kutz <thomas.kutz@itemis.de>
2017-09-29 13:40:36 +02:00
Moritz Eysholdt
c1014a0972
[formatter/perf] Avoid calling List.newArrayList() during autowrap
...
To navigate the TextReplacers in reverse order, this change introduces a
reversed iterable. Thus, it is no longer necessary to copy all the
TextReplacers into a list for reverse navigation.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-27 19:42:42 +02:00
Christian Dietrich
b71f866eb3
[Tracing] Allow to specify UseForDebugging #467
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-22 13:25:42 +02:00
Sven Efftinge
11c084dc5e
GH-73 Replaced the string replace with URI factory to fix the authority.
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-09-13 17:24:57 +02:00
Moritz Eysholdt
846e686bd7
[formatter] improved comment handling in undefined regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-12 09:18:26 +02:00
Sebastian Zarnekow
278a115708
Merge pull request #404 from eclipse/sz_gh341
...
Problem with content assist and grammar fragments
2017-09-06 14:29:14 +02:00
Christian Dietrich
d8a45bcfe2
fixed wrong import
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 10:41:45 +02:00
Christian Dietrich
7b2e23b94e
[479137]improved Misleading error message 'Cannot create datatype' for terminal rule #91
...
- added test
- fixed broken test framework
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 09:34:28 +02:00
Sebastian Zarnekow
7be950d6a2
Merge branch 'master' into sz_gh341
2017-09-05 23:11:22 +02:00
Sebastian Zarnekow
1c5b2b0320
Merge pull request #366 from eclipse/sz_bug476690
...
Refined token placement for indentation based languages
2017-09-05 23:02:36 +02:00
Karsten Thoms
077b26c5ca
[formatting] removed obsolete tab
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-08-24 16:05:23 +02:00
Dennis Huebner
87e7b088e3
Merge pull request #354 from yanntm/master
...
remove greedy flags from critical dependency paths
2017-08-24 08:59:32 +02:00
Moritz Eysholdt
8ff6017c62
[ChangeSerializer] improved toString()
2017-08-23 18:27:51 +02:00
Moritz Eysholdt
6a55da1434
[TextRegionDiffBuilder] improved handling of multi-inserts
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-23 17:31:59 +02:00
Moritz Eysholdt
ae9d0259ef
fixed #438 : error in ITextRegionAccess.regionForLineAtOffset(int)
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-21 19:25:51 +02:00
Moritz Eysholdt
353cdac76e
make AbstractEObjectRegion.addChild(IAstRegion) public
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-21 10:16:53 +02:00
Moritz Eysholdt
b304d5e921
[ChangeSerializer] improve handling of multiple deleted regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Moritz Eysholdt
b913ac015f
[TextRegionAccess] Allow usage on mutable EMF models
...
This includes the possibility that an EObject has been removed from the
EMF containment tree or moved to another resource.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Moritz Eysholdt
fcdd7c4011
[TextRegionAccess] keep track of containment among EObjectRegions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 11:24:29 +02:00
Moritz Eysholdt
80f8bca39f
[debug] also visualize changes that only change URIs but not text
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-16 18:09:20 +02:00
Moritz Eysholdt
0845899c84
Support Modifications on a TextRegionAccess
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-11 08:07:05 +02:00
Moritz Eysholdt
9d8bfe5c5a
[JavaFormatter] auto-line-wrap for Code+Comments to 120 chars
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-11 08:07:05 +02:00
Anton Kosiakov
987146a77f
[ls] unifies workspace configs
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-08-09 09:48:30 +02:00
Sebastian Zarnekow
4a59384b6f
Missing @since tags
2017-08-07 11:13:13 +02:00
Christian Dietrich
4857bce25b
[468777] [formatter] ITextRegionAccess.regionForEObject(EObject) should throw exception for resource-external eobjects
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-04 13:37:02 +02:00
Moritz Eysholdt
1a57c83086
[textRegionAccess] simplified inheritance hierarchy
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-03 14:21:35 +02:00
Alex Tugarev
bf995d259b
[textRegionAccess] Fixed missing import.
...
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2017-07-31 09:45:45 +02:00
Karsten Thoms
f8ccf33644
Merge pull request #409 from AlexTugarev/GH-408
...
[textRegionAccess] Make state of `NodeModelBasedRegionAccessBuilder` accessible in subclasses
2017-07-29 18:51:42 +02:00
Alex Tugarev
d8c31d4a79
[textRegionAccess] Make state of NodeModelBasedRegionAccessBuilder
accessible in subclasses.
...
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2017-07-29 05:01:45 +02:00
Sebastian Zarnekow
2580fb8ffc
Minor cleanup in GrammarUtils
2017-07-23 19:52:22 +02:00
Moritz Eysholdt
58ca794e9e
fixed #398 : formatting must not be applied outside requested regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-20 19:19:34 +02:00
Moritz Eysholdt
dd63a84305
Make it easier to traverse text regions of a TextRegionAccess
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-18 13:15:31 +02:00
Moritz Eysholdt
81aa59709e
fixed #383 : LiveShadowedResourceDescriptions should be live
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-18 13:14:56 +02:00
Moritz Eysholdt
2b268a4f4f
fix #301 : Improved support for IAutoWrapFormatter
...
The previous fix
906be319a4
dind't handle insertion of new ITextReplacers
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-10 22:15:20 +02:00
Moritz Eysholdt
906be319a4
fix #301 : Rollback bc autowrap may ignore change from IAutoWrapFormatter
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-10 19:26:09 +02:00
Christian Dietrich
8eecbdcd4d
[519299] LiveShadowedAllContainerState.containsURI() breaks scoping while refactoring (regression)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-06 15:19:07 +02:00
Karsten Thoms
50e1919579
Merge pull request #380 from eclipse/bug519241
...
[519241] Throw AssertionError when scope provider returns null
2017-07-05 16:48:20 +02:00
Karsten Thoms
3f486be870
[519241] Throw AssertionError when scope provider returns null
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-05 16:41:52 +02:00
Miro Spönemann
84dece4cd4
Merge pull request #372 from eclipse/msp_issue57
...
Create an in-memory workspace configuration when no root URI is given
2017-07-05 12:45:55 +02:00
Miro Spönemann
cdeb89d335
Explicitly return null
2017-07-05 12:44:21 +02:00
Karsten Thoms
f46a269fdd
gradleprojectbuilder added by Buildship project import
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-01 23:09:36 +02:00
Miro Spönemann
d424d9f80d
Fixed #57 : Create an in-memory workspace configuration when no rootURI is given
2017-06-30 11:17:51 +02:00
Anton Kosiakov
2782bd4e8c
[ls/resourceAccess] fail if the resource set is null
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 12:03:17 +02:00
Anton Kosiakov
7f91cc9c09
[referenceFinder] refine a javadoc for IResourceAccess
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Karsten Thoms
aca69748fd
formatting
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-06-14 19:08:56 +02:00
Sebastian Zarnekow
0657d731dd
Make test cases green, improve token placement
2017-06-12 15:09:57 +02:00
Sebastian Zarnekow
19a3930632
Improved synthetic token placement
2017-06-07 10:31:21 +02:00
Sebastian Zarnekow
34bf1e5d30
Introduce local vars to avoid compiler warning
2017-06-02 12:42:28 +02:00
Sebastian Zarnekow
1521d1ffc3
Mark overriding methods as synchronized since it does no harm
2017-06-02 12:41:56 +02:00
Yann Thierry-Mieg
3f9898593c
remove greedy flags from critical dependency paths These greedy flags are pulling in a lot of unwanted plugins in eclipse update scenarios.
...
More precisely, any install of org.eclipse.xtext into an eclipse with eclipse/releases/ update site (e.g. every eclipse) will install e.g. jdt.core among other things.
This is a problem especially when the original eclipse product is very lean, e.g. a headless application relying on Xtext to parse models to EMF.
It is also undesirable overall in other scenarios, see also :
(older bug report) https://bugs.eclipse.org/bugs/show_bug.cgi?id=464344
(current issue on github) #345
(documentation for why greedy is bad for tool providers using Xtext) https://wiki.eclipse.org/Equinox/p2/Publisher
This commit removes greedy from dependencies on things which are not needed at runtime : xtend, mwe
Signed-off-by: Yann Thierry-Mieg <Yann.Thierry-Mieg@lip6.fr>
2017-05-25 12:21:55 +02:00