Commit graph

3736 commits

Author SHA1 Message Date
Sven Efftinge
2d18d6663e [bug 464762] Handle cases where resolve returns a detached proxy itself
Made PortableURIs more robust against EObjects without eResource.
Also fixed the cause, which was BatchLinkingService returning proxies instead of null, when something couldn't be resolved.

Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-04-22 16:48:04 +02:00
Dennis Huebner
8e042ce1a8 [mvn] Fixed test projects versions
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-04-13 18:39:35 +02:00
Dennis Huebner
6ee253a101 [releng] increased version 2.8.2 -> 2.8.3
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-04-10 16:08:46 +02:00
Moritz Eysholdt
c9358c68c0 [formatter] more preconditions to track down AFE in TextEdit.<init>
https://bugs.eclipse.org/bugs/show_bug.cgi?id=461966


Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-04-08 10:14:08 +02:00
Sebastian Zarnekow
3df741e5d5 Merge pull request #129 from eclipse/sz/bug462917
[462917]: Removed broken template var resolver for Xtend
2015-04-08 08:33:40 +02:00
Sebastian Zarnekow
bffb8a494f [462917]: Removed broken template var resolver for Xtend
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=462917

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-04-07 17:58:51 +02:00
Sebastian Zarnekow
1d433e0997 [464029]: Fixed NPE in grammar editor
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=464029

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-04-07 15:45:38 +02:00
Dennis Huebner
e10c7267dd Merge pull request #118 from eclipse/dh/Bug463794
[xtext] Moved copy fully initialized flag logic to EcoreUtil2
2015-04-02 16:58:47 +02:00
Dennis Huebner
2bcadf1893 [xtext] Moved copy fully initialized flag logic to EcoreUtil2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=463794

Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-04-02 15:54:20 +02:00
Sven Efftinge
8c7a132629 Derived state error handling
don’t recomputed on error, but store exception in diagnostic (see also https://bugs.eclipse.org/bugs/show_bug.cgi?id=458620#c2)

Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-04-02 14:55:20 +02:00
Moritz Eysholdt
61b5fb8b24 Merge pull request #88 from eclipse/mey/maintenance_serializer_node_model
[serializer] use node model even for rules without assignment
2015-03-26 16:37:59 +01:00
Moritz Eysholdt
d1fa1237b6 [serializer/bug463196] use node model even for rules without assignment
This fixes a bug that caused the SyntacticSequencer to not consult the
node model if a serialized rule doesn't have any assignments but only an
action.

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

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-26 13:43:54 +01:00
Sebastian Zarnekow
c999e65666 [462486]: Fixed bogus grammar validation
Terminal fragments cannot shadow keywords

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

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-03-26 09:27:38 +01:00
Dennis Huebner
56b19a80f0 [releng] Version update: 2.8.1 -> 2.8.2
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-24 14:58:44 +01:00
szarnekow
72f9e1c9e9 [461764]: Fixed wrongly propagated exception
The IResourceValidator is not supposed to throw a platform
specific cancellation exception but should wrap it in an
OperationCanceledError instead.

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

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-03-23 10:44:28 +01:00
Moritz Eysholdt
bf5b94fe66 [serializer] fixed Bug 461470: IAE in TextReplacerContext.withReplacer
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-20 11:50:45 +01:00
Miro Spönemann
b580bfa3d4 [xbase] Bug 462172: Use IContextualOutputConfigurationProvider to include project-specific settings
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-03-20 11:21:51 +01:00
Moritz Eysholdt
e9f7ebde5f [serializer] bug 462536: deprecate GenericSemanticSequencer
This also changes the just-in-time-binding for ISemanticSequencer from
GenericSemanticSequencer to BacktrackingSemanticSequencer. I'm not
expecting this it have an impact because the RuntimeModule overrides
this binding for ISemanticSequencer

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-20 11:21:41 +01:00
Dennis Huebner
d2c97c1038 [releng] Prepared local build ant script for public usage
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-20 11:20:24 +01:00
Sven Efftinge
4ea2f15991 [bug 461761] fixes for storage loaded resources:
1) don't collect imported constants
2) don't use conrreteSyntaxName for operators

Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-03-20 11:18:55 +01:00
Sebastian Zarnekow
0a9f666a88 [461939]: Fixed performance problem with Strings.countLines
Instead of using countLines with a substring, the start and endOffset
an be passed as an argument to the methods that deal with line
counting.

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-03-20 11:17:38 +01:00
Dennis Huebner
fb28728774 [gradle] Incremented gradle build version. Fixed test projets versions
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 16:53:54 +01:00
Dennis Huebner
4fb78f56a3 [releng] increase version to 2.8.0 -> 2.8.1
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 11:59:35 +01:00
Dennis Huebner
561d9c660e [mvn] Set version to 2.8.1-SNAPSHOT
Change-Id: Iecb5b6ab6cdbb3b95e3148a51e1bcd7b091375b0
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 11:26:43 +01:00
Dennis Huebner
9a03eefb14 [tests] reverted check of misleading isJava7Default field 2015-03-06 13:50:08 +01:00
Dennis Huebner
cc760f717f [tests] Fixed failing test with Java7 on server or Java6 locally 2015-03-06 12:33:06 +01:00
Moritz Eysholdt
87d6525159 [formatter2] improved JavaDoc
Change-Id: I84208d0a1a66ed842b07c4d7b8ad445fd005580d
2015-03-05 10:55:46 -05:00
Dennis Huebner
ed8d51db6f [emf] More changes for switching from 2.11 to 2.10.2 2015-03-05 10:24:50 +01:00
Miro Spönemann
d12436e9ee [formatting] Fixes bug 461033: the formatter for XMemberFeatureCall took the wrong tokens in some cases
Change-Id: I2c6599cbbeb1e4cef12a5355aeb5a055c19fb7f4
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-03-05 03:09:55 -05:00
Dennis Huebner
7039180d89 [emf] Set lower bound for EMF to 2.10.2
Change-Id: I5254556239ae64241d4b06f90db546dad03f95bd
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-04 16:32:45 +01:00
akosyakov
54792b4bf7 [intellij] Added parsing tests based on Xtext grammar language
Change-Id: Ie2b07846e80deb7385093aa4278e20d7df8a3ecb
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-03-02 16:55:13 +01:00
akosyakov
1b413152e9 [intellij] Added assignments, antlr and datatypesrules parsing tests
Change-Id: I60d75f6e3d4271bda840daff6ff1735e7874edc6
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-03-02 16:55:13 +01:00
Miro Spönemann
307a2af1b8 [documentation] Reviewed new formatter documentation
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-03-02 09:17:18 +01:00
Stefan Oehme
a1191fd1ed improved LoggingTester API, implement without reflection
Change-Id: Ic955ad5c8d614b9f079da026aa1017593f26cf68
2015-02-27 11:43:57 +01:00
Sebastian Zarnekow
17cf59cd85 [xbase][resources] Rename method to avoid ambiguities
Renamed newly introduced method load(ResourceStorageLoadable)
to loadFromStorage to avoid ambiguity with load(null)

Change-Id: If1f14b018b246968e576bb690be2417f771fd923
2015-02-26 17:45:41 +01:00
Miro Spönemann
f01f6a9712 Fixed links to documentation according to renaming of Markdown files
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-02-26 09:36:40 +01:00
Sebastian Zarnekow
866274ea50 [460759]: [xtend][templates] Fixed CA in template proposals
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=460759

Change-Id: I032d3f0513e4b61575cbdc7f8bcba634db423e31
2015-02-25 15:20:48 +01:00
Sebastian Zarnekow
1fb2cf8294 [460730]: [xtend] Fixed quickfix for wrong package declaration
Also fixed a general issue with the DefaultTextEditComposer
and DerivedStateAwareResources.

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

Change-Id: I70fa21069e9b0ffc6929090d2851cfe2ad2541cc
2015-02-25 14:27:14 +01:00
Dennis Huebner
dbc9d4490b Merge "Bug 460552 regenerate all languages with the recent generator changes and mark xtext.ide provisional see https://bugs.eclipse.org/bugs/show_bug.cgi?id=460552" 2015-02-24 15:57:18 -05:00
Holger Schill
b49c02cb0b Bug 460552 regenerate all languages with the recent generator changes and mark xtext.ide provisional see https://bugs.eclipse.org/bugs/show_bug.cgi?id=460552 2015-02-24 20:42:35 +01:00
Jan Koehnlein
c410c8857d Bug 460269 [editor] open generated file doesn't work for multi-type Xtend files with comment as first statement
Trace merger tests and minor fix

Change-Id: I4d9403787c7799ac10241c6595b8d92c7494c183
2015-02-24 13:30:19 +01:00
Dennis Huebner
cb5123a764 Merge "Fixed links to documentation according to new website structure" 2015-02-23 13:16:06 -05:00
Miro Spönemann
b58eea29d9 Fixed links to documentation according to new website structure
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-02-23 17:33:55 +01:00
Jan Koehnlein
16049ef03f Bug 460269 [editor] open generated file doesn't work for multi-type Xtend files with comment as first statement
Re-implemented merging of inverted traces. Tests TBD

Change-Id: Ib1e8d7bd89325d630207b638a2ba35e58e95c28c
2015-02-23 17:21:04 +01:00
Sebastian Zarnekow
baf15a52cb [456482]: [xtext] Fixed referenced to Xcore from Xtext grammar workflow
The LanguageConfig will use a proper index for the resource set
and the grammar access will clone the resources from the resource set
as fully initialized to avoid duplicate initialization

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

Change-Id: I66f7f0cffdeb208b71c35b1594f3cb90fcd528ad
2015-02-22 14:55:24 +01:00
Jan Koehnlein
d8db274a42 Bug 460112: Strange IllegalStateException when importing URL in grammar editor
PackageRemover should never unload registered EPackages.

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

Change-Id: I921ae358ca39c4538e6e595ac0b56728638484eb
2015-02-20 18:15:58 +01:00
akosyakov
c28ab97d43 [intellij] added more tests for terminal rules
Change-Id: Ie4ae218c3974d417e85165e1685b82b585af2fda
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-20 14:22:45 +01:00
Jan Koehnlein
ee82c7438a Bug 460269 [editor] open generated file doesn't work for multi-type Xtend files with comment as first statement
Consider region overlap when iterating trace regions.

Change-Id: Ia252510ef935316004d5f39ad9279d43f267ab5c
2015-02-19 20:19:23 +01:00
akosyakov
c600f9e09f [intenllij] added terminal rules parsing tests
Change-Id: I5bb0f5f337472229d7c53e0567bd757d59715173
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-18 17:16:59 +01:00
akosyakov
2644541fe5 [intellij] tested unordered groups parsing
Change-Id: If2f1a238d8da017ce4ef98f550f3df96c011d08e
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-18 12:57:43 +01:00