Moritz Eysholdt
9823d6f416
[serializer] avoid duplication of variables in the inheritance hierarchy
2012-05-10 10:53:56 +02:00
Holger Schill
d90176fdc6
out of memory error when using grammar with enumerations and integer values see https://bugs.eclipse.org/bugs/show_bug.cgi?id=378967
2012-05-09 17:25:35 +02:00
Moritz Eysholdt
eb843347d3
[serializer] there is no special treatment for boolean-assigned keywords needed
2012-05-09 15:29:58 +02:00
Moritz Eysholdt
83155e5a95
[serializer] don't throw exceptions for keywords in cross references (see bug 376018)
2012-05-09 15:29:58 +02:00
Moritz Eysholdt
4f8a367064
[serializer] fixed 378064: serialization of boolean attributes
2012-05-09 13:37:12 +02:00
Holger Schill
3743b58e1e
minor change in org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser to avoid duplicate entries
2012-05-09 13:18:19 +02:00
Holger Schill
5871dfcf5c
Fix use of non uppercase terminals in ContentAssist see https://bugs.eclipse.org/bugs/show_bug.cgi?id=377311
2012-05-09 13:08:31 +02:00
Moritz Eysholdt
e3eac94eaa
[serializer] fixed a problem with language inheritance and naming
...
see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=378325
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346695
https://bugs.eclipse.org/bugs/show_bug.cgi?id=378052
2012-05-09 10:01:00 +02:00
Holger Schill
5aaa12c0ac
Changed severity of validation for terminal naming conventions from error to warning
2012-05-04 09:52:57 +02:00
Jan Koehnlein
210b959c59
[tests] Setting EMF runtime version to 2.5
2012-05-03 22:52:36 +02:00
Jan Koehnlein
19a4f319fc
[generator] Test for URI conversion in XMI grammar
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=378261
2012-05-03 17:08:50 +02:00
Jan Koehnlein
e58a7c1a1c
[generator] Explicitly setting EMF runtime version in all EcoreGeneratorFragments
2012-05-03 16:25:36 +02:00
Dennis Huebner
c454342882
xpand to xtend migration - ecore2xtext wizard, work in progress
2012-05-03 12:29:23 +02:00
Dennis Huebner
8220cb0fe3
[wizard] migrating from xpand templates to xtend rich strings
2012-05-03 12:29:23 +02:00
Jan Koehnlein
d9666a7408
[node][serialization] Fixed package private method
2012-05-02 18:08:44 +02:00
Dennis Huebner
432284a006
[releng] emf lower bound is now 2.5!
2012-05-02 14:44:49 +02:00
Dennis Huebner
c95f07a5b8
[p2-greedy] Switched to old default greedy = true
2012-05-02 11:02:12 +02:00
Holger Schill
412131e238
Xtext must ensure the use of terminal naming convention see https://bugs.eclipse.org/bugs/show_bug.cgi?id=377311
2012-05-02 09:56:12 +02:00
Sven Efftinge
399699774e
[core] use an injected ClassLoader to load the xmi from classpath.
2012-04-30 17:00:40 +02:00
Sven Efftinge
4345686729
fixed class cast exception in grammar access (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=347171 )
2012-04-30 13:31:42 +02:00
Moritz Eysholdt
d21e95334d
[Xtext] fixed 363914 - Check that you cannot append a null segment to a
...
QualifiedName
(cherry picked from commit b74a06f705a9a0750289e2152d49941f4727e756)
2012-04-27 13:35:10 +02:00
Knut Wannheden
babd10b531
[test] improved AssertableDiagnostics#diagnostic() helper methods
...
The AssertableDiagnostics#diagnostic() helper methods now declare
the severity and code parameters as of type Integer instead of int.
This allows clients to specify that there is no expected value. Note
that this change is binary incompatible but source compatible.
Added API analysis to org.eclipse.xtext.junit.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=374743
2012-04-27 11:33:43 +02:00
Dennis Huebner
d374641c8e
[pde] Xtext now depends on emf 2.8!
2012-04-27 11:20:41 +02:00
Knut Wannheden
814e2fa850
[node model][performance] small tweaks to NodeModelBuilder
...
- Replaced some repeated method calls with variables on the stack.
- Inlined and removed the methods #addPrevious() and #addNext()
resulting in an API incompatibility (filtered)
- Replaced internal EObjectArrayAsList with ArrayInterner
https://bugs.eclipse.org/bugs/show_bug.cgi?id=376637
2012-04-26 17:51:35 +02:00
Sebastian Zarnekow
2eab8af78d
[xbase][scoping,typing] WIP: batched type resolution and linking for Xbase languages
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=376037
All the things in the newly most likely temporarily introduced packages
xbase.typesystem.* and xbase.scoping.batch.* are subject to heavy changes
2012-04-26 13:14:26 +02:00
Sebastian Zarnekow
95b8c7f306
[xtext] Minor: Added overloaded variant MapBasedScope#createScope(IScope, Collection)
2012-04-26 13:14:26 +02:00
Sebastian Zarnekow
ad06a1f04f
[xbase] Reexport jdt.annotations
2012-04-26 13:14:25 +02:00
Sven Efftinge
97e0896e37
[junit] suppressed API-problems
2012-04-26 10:19:28 +02:00
Moritz Eysholdt
53fcc1b7bd
[serializer] improved sequence acceptors that help with debugging
2012-04-25 19:28:29 +02:00
Moritz Eysholdt
9250272022
improved an exception message, see bug 326024.
2012-04-25 19:21:30 +02:00
Moritz Eysholdt
79bbfccb6d
make the BacktrackingSequencer deterministic in ambiguous situations
2012-04-25 17:57:02 +02:00
Moritz Eysholdt
c4c0fc200a
fixed 377296 #3 : Inlined LiveStateBasedContainerManager
2012-04-25 09:53:36 +02:00
Sven Efftinge
0bbd7064c7
added @since
2012-04-25 08:24:33 +02:00
Moritz Eysholdt
1d9dfc78d1
fixed 377296 #2 : disable caches instead of propagating events
2012-04-24 18:52:21 +02:00
Moritz Eysholdt
890160412e
reverted some changes from my last commit.
...
Propagating the events from the ResourceSet
to all containers introduces too much overhead.
2012-04-24 17:43:12 +02:00
Moritz Eysholdt
ed45ba284e
fixed 377296: ResourceSetBasedAllContainersState should handle lazily loaded resources
2012-04-24 16:21:07 +02:00
Jan Koehnlein
78bc63945d
[generator] late delivery of tests for manifest merger changes
2012-04-20 12:42:22 +02:00
Jan Koehnlein
d7d5524039
[nodemodel] marked new serialization API internal
2012-04-20 12:16:01 +02:00
Jan Koehnlein
f56b26ff2d
[nodemodel] Make node model serializable
...
applied patch https://bugs.eclipse.org/bugs/attachment.cgi?id=212979
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=359824
2012-04-20 12:09:28 +02:00
Jan Koehnlein
0791813424
[grammar][codeassist] Reworked feature proposals
2012-04-20 10:07:27 +02:00
Jan Koehnlein
e5fbedbc9e
[generator] generate dependencies for test plug-in
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=373330
2012-04-19 14:51:06 +02:00
Jan Koehnlein
293185e436
[validation] set the issue code even for plain diagnostics
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369179
2012-04-19 11:47:05 +02:00
Dennis Huebner
08c019acef
[xtext-mwe] Friendly PathTraverser - Bug 376944
2012-04-19 10:36:27 +02:00
Knut Wannheden
9c2e8afce6
[node model][performance] added caching of hash code
...
Caching the hash code of EObjectArrayAsList objects improves the
overall parse performance by around 10%.
2012-04-12 19:11:59 +02:00
Knut Wannheden
d82b7980f3
[node model] reintroduced cache in NodeModelBuilder
...
The previous commit accidentally removed the grammar element cache
which was there to reduce the node model size. the performance
improvement is still 20% over the original, but not as good as 35%.
2012-04-12 17:51:07 +02:00
Knut Wannheden
7dec6c607b
[node model][performance] NodeModelBuilder#compressAndReturnParent()
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=376607
2012-04-12 16:54:07 +02:00
Sven Efftinge
afc7879e29
made leaked class public (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=370843 )
2012-04-12 08:32:26 +02:00
Sven Efftinge
86bbb847ab
- delete trace file, if generated file is deleted ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=376376 )
...
- trace files start with a '.' to make them hidden by default (https://bugs.eclipse.org/bugs/show_bug.cgi?id=376377 )
- fixed generated source view, to work with multiple generated files.
2012-04-12 08:11:38 +02:00
Sven Efftinge
e13a41363e
bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=361538
2012-04-11 14:57:53 +02:00
Moritz Eysholdt
cc4beb3446
[serializer] implemented a fail-early strategy for sequencing
...
The backtracking algorithm of the semantic sequencer now avoids paths
that can not lead to a successful consumption of all EOBject's values.
To do so, every node of the state machine has knowledge about all
EStructuralFeatures which its subsequent nodes refer to. If an EObject
has unconsumed values within EStructuralFeatures that are not part of
this list, the algorithm will not proceed past this node.
2012-04-03 23:57:22 +02:00