Commit graph

4893 commits

Author SHA1 Message Date
Moritz Eysholdt
59b17ef430 [serializer] never attempt to call ValueConverter with wrong rule
---Example---
Rule: name=FQN | name=STRING;
-------------

When FQN has been parsed but the serializer decided to write out 
STRING it was calling the IValueConverter with FQN's INode and rule 
STRING. That's obviously wrong input for the ValueConverter. 

The fix just prevents the IValueConverter to be called in this scenario,
causing the INode's text to be ignored; Instead fresh output is
generated via IValueConverter.toString(...) 

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-08 09:34:07 +02:00
Lorenzo Bettini
78dace0fd0 484043: updated CliWizardIntegrationTest for SDK and p2 project
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-06 14:54:53 +02:00
Lorenzo Bettini
dfe3f34fa5 484043: wizard configuration tests
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-06 14:36:07 +02:00
Lorenzo Bettini
a4a5907adb 484043: Create a p2 repository project
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-06 13:04:25 +02:00
Lorenzo Bettini
7f48d5d34c 484043: correctly check sdk project enabled
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-06 12:35:42 +02:00
Lorenzo Bettini
1784d1c46c 484043: Create an SDK feature project
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-06 11:51:53 +02:00
Moritz Eysholdt
29ddc6b881 Merge pull request #986 from eclipse/me/formatter1
[formatter/textRegions] fixed some IllegalStateExceptions
2016-04-05 21:50:00 +02:00
Moritz Eysholdt
1cdd0ab042 [formatter/textRegions] fixed some IllegalStateExceptions
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=485118

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-05 17:46:00 +02:00
Moritz Heindl
4db8d0941b Fix index guard in getPreviousHiddenPart()
Fixes an index guard that prevents
org.eclipse.xtext.formatting2.regionaccess.internal.NodeHidden#getPreviousHiddenPart()
from returning the first part of a hidden region.

Old behavior:
Given a hidden region consisting of two or more parts
When getPreviousHiddenPart() is called on the second part
Then null is returned

New behaviour:
Given a hidden region consisting of two or more parts
When getPreviousHiddenPart() is called on the second part
Then first part ist returned

Signed-off-by: Moritz Heindl <lenidh@gmail.com>
2016-04-04 22:58:57 +02:00
Lorenzo Bettini
59a500b0bf 490796: renamed mwe2 property to newProjectWizardForEclipse
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 09:13:09 +02:00
Lorenzo Bettini
1d70c475b2 490796: adapted project wizard fragment2 to bug 338419
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:50 +02:00
Lorenzo Bettini
3208b43550 490796: use grammar.simpleName for wizard descriptions
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:46 +02:00
Lorenzo Bettini
fb36ad9d01 490796: property for creating a plugin project or standard project
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:43 +02:00
Lorenzo Bettini
7c78522ccc 490796: better name for generated constant
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:41 +02:00
Lorenzo Bettini
9bc4d28df0 490796: take the gen folder from the output configuration provider
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:39 +02:00
Lorenzo Bettini
8e54dc86b9 490796: don't add plugin.xml to build.properties
Since by default the project wizard for the DSL typically does not
generate a plugin.xml

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:38 +02:00
Lorenzo Bettini
796021f551 [490796] SimpleProjectWizardFragment2
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-04 08:44:36 +02:00
Christian Dietrich
db9d12ad58 [490975] Fixed wrong Constructor in Java Ui Module Generator
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-04-04 07:46:49 +02:00
Karsten Thoms
9297b3ebb4 [356750] addPath can also take a comma-separated list of paths and
splits it.
This feature is useful for workflows where the list of paths is passed
in as a single argument.

Change-Id: I0b933c18c318487544e29ed5b9e36cf8acd30698
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-03-31 23:25:54 +02:00
Karsten Thoms
752959b238 [489133] Fix link to QuickFix docs
Change-Id: Ie5c5527041f30f9f0ea9e4a2a4c3ae1f987b190f
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-03-28 19:47:27 +02:00
Anton Kosyakov
dcd274fd07 Merge pull request #967 from eclipse/ak/bug_489547
[bug 489547] Allow to provide offset and length for SyntheticLinkingLeafNode
2016-03-22 15:48:31 +00:00
akosyakov
7baa4b3d69 [bug 489547] Allow to provide offset and length for
SyntheticLinkingLeafNode

Change-Id: I4d723aa426e4f09a48cbee2187e98c5d60900920
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
2016-03-16 13:44:19 +01:00
akosyakov
d1b582f3f8 [bug 489574][web][jetty] Don't lock static resources on Windows
Change-Id: I102e9567bba1f604072f608e089d6fd363e48a40
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
2016-03-15 18:31:36 +01:00
akosyakov
21096429a2 [bug 479161] Invalidate boolean assignments of fragments
Change-Id: I58de6791ef95e907528bede10124a788ee6b13b8
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
2016-03-15 15:28:10 +01:00
Dennis Huebner
c4cb85e533 Merge branch 'maintenance'
# Conflicts:
#	xtext-website/download.html
2016-03-04 15:46:47 +01:00
Dennis Huebner
005199d04c [releng] Back to snapshot version 2016-03-04 15:14:14 +01:00
Sven Efftinge
c3a8333266 [488309] Added missing null checks 2016-03-04 09:40:50 +01:00
Dennis Huebner
df2582a2da [releng] Prepare for release build 2016-03-04 09:38:30 +01:00
Lorenzo Bettini
f1138107f9 488966: AbstractOutlineTest
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=488966
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-03-03 18:18:13 +01:00
Dennis Huebner
056d64c14e Merge pull request #954 from eclipse/maintenance
Maintenance
2016-03-03 13:14:31 +01:00
Dennis Huebner
fa6ebdfd71 [mvn] Fixed failing tests due to an overwritten output file
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2016-03-03 11:03:11 +01:00
Dennis Huebner
ef0cbdd914 [cluster] Log "Cluster capped" as warn. Better memory info massage.
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2016-03-03 10:34:09 +01:00
Sven Efftinge
0ba45fac8a [486420] fixed scope provider binding for xbase 2016-03-01 14:33:08 +01:00
Miro Spönemann
613390a021 Bug 484465: Improved performance of GrammarConstraintProvider.Constraint#collectBounds()
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-02-29 17:44:30 +01:00
Sven Efftinge
690bdede00 Merge pull request #934 from vorburger/bug409003_ImportedNamespaceAwareLocalScopeProvider
[409003] ImportedNamespaceAwareLocalScopeProvider public getQualifiedNameConverter()
2016-02-29 17:14:36 +01:00
Andreas Heiduk
92cdc8ca9a [488589] Fix NPE in ReferenceFinder.findLocalReferencesFromElement
Solves https://bugs.eclipse.org/bugs/show_bug.cgi?id=488589

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
2016-02-26 20:08:06 +01:00
Sven Efftinge
9a11718c68 Merge pull request #939 from cdietrich/bf488458
Add warning for keywords containing spaces
2016-02-25 15:02:50 +01:00
Christian Dietrich
b8281ec71f Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=488458
Add warning for keywords containing spaces
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-02-25 13:33:22 +01:00
Jan Koehnlein
412a1dd4ee Merge branch 'maintenance' 2016-02-25 10:26:50 +01:00
Trabajo
0319d7a2b8 [bug 486980] add JavaDocs to describe how to compose validators 2016-02-19 17:01:20 +01:00
Michael Vorburger
18c5fdcd4b [409003] ImportedNamespaceAwareLocalScopeProvider public
getQualifiedNameConverter()

https://bugs.eclipse.org/bugs/show_bug.cgi?id=409003

Signed-off-by: Michael Vorburger <mike@vorburger.ch>
2016-02-16 16:44:17 +01:00
Dennis Huebner
eb6c093769 Revert "[409003] ImportedNamespaceAwareLocalScopeProvider public getQNC" 2016-02-15 11:32:43 +01:00
Michael Vorburger
bb38f29ed1 [409003] ImportedNamespaceAwareLocalScopeProvider public getQualifiedNameConverter()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=409003

Signed-off-by: Michael Vorburger <mike@vorburger.ch>
2016-02-12 12:54:43 +01:00
Jan Koehnlein
5dd3aaf971 [bug 487622] register Ecore.ecore directly to resourceSet in generator 2016-02-11 16:35:04 +01:00
Jan Koehnlein
b4bcf93b6e [bug 487508] added an NPE guard in IDEA generator 2016-02-09 14:35:39 +01:00
Sven Efftinge
208bc7624e [junit] CompositeEValidator - added operationCanceledManager to the copy method 2016-02-02 20:54:08 +01:00
Miro Spönemann
cf59f1c53f [web] Added API for template proposals 2016-02-01 15:26:51 +01:00
Dennis Huebner
9a325f4181 Bug 481087 - Consider to set guava lower bound to 14.0
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2016-01-28 12:19:59 +01:00
Dennis Huebner
decbb8c947 Merge remote-tracking branch 'origin/maintenance'
Conflicts:
	examples/org.eclipse.xtext.xtext.ui.examples/contents/org.eclipse.xtext.example.homeautomation/src-gen/org/eclipse/xtext/example/homeautomation/validation/AbstractRuleEngineValidator.java
	examples/org.eclipse.xtext.xtext.ui.examples/contents/org.eclipse.xtext.example.homeautomation/src/org/eclipse/xtext/example/homeautomation/GenerateRuleEngine.mwe2


Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2016-01-28 10:06:59 +01:00
Dennis Huebner
6ecf2e5656 Revert "[wizard] Fixed test expectation. New gradle plugin version 1.0.2"
This reverts commit f1b62dc9d519e9f71b4c64e9bc9e55d20b418f6b.
2016-01-28 09:46:02 +01:00