Commit graph

5011 commits

Author SHA1 Message Date
Dennis Huebner
6ec65c43f4 Merge pull request #988 from LorenzoBettini/lb/bug_484043
484043: Add .feature and .repository projects to the wizard
2016-04-20 09:11:34 +02:00
Moritz Eysholdt
9eac8bc70b [formatterPreferences] deprecated indentationLength in favor of tabWidth
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-19 14:30:02 +02:00
Moritz Eysholdt
6a810ea3e7 [textRegionAccess] introducing ISemanticRegion.getEObjectRegion()
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-19 14:30:00 +02:00
Moritz Eysholdt
8fd3b45a4a [textRegionAccess] improved documentation and parameter naming
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-19 14:29:57 +02:00
Sven Efftinge
62354a7ebf Merge pull request #996 from LorenzoBettini/lb/bug_491411
491411: Generated generator.Main uses createFileURI
2016-04-19 14:11:09 +02:00
Dennis Huebner
903187520e [deps] Fixed unversioned dependency to org.eclipse.core.runtime 2016-04-18 13:24:19 +02:00
Sven Efftinge
41ca067f19 Merge pull request #968 from eclipse/ak/bug_489745
[bug 489745] Call Hierarchy View
2016-04-13 21:55:39 +02:00
Lorenzo Bettini
bcd737998e 484043: updated CliWizardIntegrationTest expectations
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-13 16:50:37 +02:00
Lorenzo Bettini
cc23a1cd38 484043: feature project is .feature instead of .sdk
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484043
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-13 16:49:56 +02:00
Moritz Eysholdt
cb5819aeaf fixup for 40dbb428c55fcf150f901bfd14b64d854ec0589b
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-12 23:23:18 +02:00
Moritz Eysholdt
405d67687b Merge pull request #990 from eclipse/me/serializer_value_converter
[serializer] never attempt to call ValueConverter with wrong rule
2016-04-12 19:50:13 +02:00
Lorenzo Bettini
dc145b5fc7 491411: Generated generator.Main uses createFileURI
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=491411
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-04-11 09:25:06 +02:00
akosyakov
50cec713cd [bug 489745] Call Hierarchy View
Change-Id: Ifd716f42b1c76b172ec00df5422e6bb7c1f22b14
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
2016-04-10 05:03:56 +02:00
Moritz Eysholdt
a90c3af532 [formatter/textRegions] updated RegionAccessBuilderTest
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-08 12:01:38 +02:00
Moritz Eysholdt
907c3f901c [formatter/TextRegionToString] support indentation
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-08 12:01:29 +02:00
Moritz Eysholdt
e04506c903 [formatter/TextRegionToString] make sure there is a trailing space
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-08 12:01:27 +02:00
Moritz Eysholdt
d12a761542 [formatter/TextRegionToString] fixed an indentation bug
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-08 12:00:15 +02:00
Moritz Eysholdt
173450d637 [formatter/textregions] make sure the root has a proper grammar element
Even though the root has been created via an {Action}, the grammar 
element should be the root parser rule.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-04-08 10:22:13 +02:00
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