Commit graph

3810 commits

Author SHA1 Message Date
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
Sebastian Zarnekow
4d4242890f [460696]: Fixed genmodel references in workflow files
Change-Id: Ie1e66ce29feebfe9bfbfecf1f479f2b7701f6e2f
2015-03-31 14:55:06 +02:00
Sebastian Zarnekow
f0845522a1 [460696]: Fixed erroneous genmodel declaration
Moved Xtext.ecore and Xtext.genmodel to a folder
org/eclipse/xtext which is not a source folder but
a model folder.

Change-Id: I6e5fea5f34bf3e52a36c59099162e20e1783fb38
Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-03-29 14:48:02 +02:00
Stefan Oehme
4c165cf94a [gradle] don't skip optional dependencies for maven central 2015-03-27 21:07:28 +01:00
Moritz Eysholdt
51aa2d4c5d [formatter] improved fix for bug 461033: CFE in HiddenRegionFormatting
The original fix
https://github.com/eclipse/xtext/commit/9f4514d13120df237e0accf42924c
resolved the symptomps of the problem, but the actual cause was a
wrongly constructed TextRegionAccess.

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

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-26 18:17:44 +01:00
Moritz Eysholdt
caef8f0574 Merge pull request #93 from eclipse/maintenance
Merge all fixes from 'maintenance' into 'master'
2015-03-26 18:11:54 +01: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
Sebastian Zarnekow
97d3db2c43 Merge pull request #83 from eclipse/sz/bug463095
[463095]: Fixed accidentally ignored OperationCancelErrors
2015-03-26 13:45:03 +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
Stefan Oehme
f44134a9e8 [gradle] infer some external dependencies from manifest
can now replace most dependencies in the intellij projects with plugin
project dependencies
2015-03-25 17:29:41 +01:00
Sebastian Zarnekow
69cfb5b65a [463095]: Fixed accidentally ignored OperationCancelErrors
Active annotation processors used to swallow all cancellation
information.

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

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-03-25 16:24:48 +01:00
Dennis Huebner
ebfb139a23 [misc] Removed deprecated junit3 bundles
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-25 08:37:28 +01:00
Dennis Huebner
5d4ad53ade Merge branch 'maintenance' 2015-03-24 15:10:02 +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
szarnekow
3203c40ef2 [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 09:13:36 +01:00
Moritz Eysholdt
a0c761ede8 Merge pull request #65 from eclipse/mey/bug461966
[formatter] more preconditions to track down AFE in TextEdit.<init>
2015-03-20 14:20:53 +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
Moritz Eysholdt
241c48e413 [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-03-20 11:34:26 +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
Moritz Eysholdt
dbc9d8f003 [serializer] fixed Bug 461470: IAE in TextReplacerContext.withReplacer
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-20 11:13:45 +01:00
Miro Spönemann
814b12daca Merge pull request #59 from eclipse/msp/bug462172
[xbase] Bug 462172: Avoid "Type is already defined" errors
2015-03-19 16:50:36 +01:00
Miro Spönemann
03e68ce930 [xbase] Bug 462172: Use IContextualOutputConfigurationProvider to include project-specific settings
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-03-19 14:16:28 +01:00
Moritz Eysholdt
a661984706 [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-19 13:28:43 +01:00
Moritz Eysholdt
1f5c7efe7a Merge pull request #47 from eclipse/mey/fix_build
[serializer] excluded tests from old GenericSemanticSequencer
2015-03-19 13:11:16 +01:00
Dennis Huebner
7c08417415 [releng] Prepared local build ant script for public usage
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-19 11:06:29 +01:00
Moritz Eysholdt
7d84411ed3 [serializer] excluded tests from old GenericSemanticSequencer
...because BacktrackingSemanticSequencer can handle them

Change-Id: I83ac829a43a5623dbb38e8086ab462c89e7e0a2d
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-19 10:21:51 +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
988dea02e9 [api] cleaning up filters
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 15:21:50 +01:00
Sven Efftinge
e8e1b7c727 Merge pull request #41 from eclipse/se/bug461761
[bug 461761] fixes for storage loaded resources: 1) don't collect imported constants 2) don't use concreteSyntaxName for operators
2015-03-18 15:09:16 +01:00
Dennis Huebner
b3a42600e2 [api] Fixed since tag
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 15:04:07 +01:00
Sven Efftinge
9c59a56772 [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-18 14:50:35 +01:00
Dennis Huebner
5fd1c8ce5a [releng] Increase version to 2.9.0
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 14:14:58 +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
Moritz Eysholdt
8d8420a472 Merge pull request #28 from eclipse/pr2
[serializer] keywords don't have precedence over rule calls
2015-03-18 10:54:23 +01:00
Dennis Huebner
4c0dd7e885 [mvn] Set version to 2.8.1-SNAPSHOT
Change-Id: Iecb5b6ab6cdbb3b95e3148a51e1bcd7b091375b0
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-03-18 10:10:23 +01:00
Sebastian Zarnekow
c3d3682f50 [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-17 16:17:47 +01:00
Moritz Eysholdt
7c13f76a91 [serializer] bugfix: never break datatype rules into individual tokens
Change-Id: I25a55027dc588b41b70a4cb94ca2b81282c31f4e
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-16 11:03:17 +01:00
Moritz Eysholdt
3e5b500a22 [serializer] keywords don't have precedence over rule calls
Because rule calls can refer to DataType rules which again may
contain keywords.

Change-Id: If128a1fa89330df970fe5a076ec7db0dc8e01e64
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-03-16 10:52:08 +01:00
Miro Spönemann
1384d14bea [xtend] Bug 460093:
- Enabled content assist for overriding default methods
- Enhanced IDE test infrastructure to support different Java versions

Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-03-12 10:27:03 +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