Sven Efftinge
6c916e40a4
[builder] first shot on reimplementation of generic BuilderParticipant (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=353463 )
2011-08-22 16:02:36 +02:00
Sebastian Zarnekow
9b5481ff68
[xbase][scoping] Refactored feature scoping
...
The scopes itself have been implemented more functional
to allow caching on the level of the JvmDeclaredType
2011-08-22 15:34:10 +02:00
Sebastian Zarnekow
9cc8212d1f
[xtext][naming] Minor improvements to QualifiedName#toString
2011-08-22 15:34:10 +02:00
Sebastian Zarnekow
0b254e90ab
[xtext] Cosmetics: Remove unused imports
2011-08-22 15:34:09 +02:00
Moritz Eysholdt
78323c27d0
[serializer] fixed a bug in the GrammarConstraintProvider
2011-08-17 17:45:33 +02:00
Moritz Eysholdt
f8adc5cba9
[junit4/TestAsCommaSeparated] bugfixes for parsing, sorting and formatting comma-separated-lists
2011-08-17 13:28:59 +02:00
Sebastian Zarnekow
b4e350b31c
[xtext][validation] Fix: Don't wrap RuntimeException in a RuntimeException
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=353194
2011-08-16 23:20:54 +02:00
Sebastian Zarnekow
dc3efb6de2
[xtext][grammar] Fix: bug when combining alternatives and assigned actions
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=346685
2011-08-16 22:55:11 +02:00
Sebastian Zarnekow
f358ecbf34
[xtext][grammar] Fix: Grammar's qualified name in index contains only one segment
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=350695
2011-08-15 21:48:38 +02:00
Sebastian Zarnekow
c95e004cfe
[xtext] Fixed type in Diagnostic.SYNTAX_DIAGNOSTIC, added Javadoc
2011-08-15 21:27:54 +02:00
Sebastian Zarnekow
2dc80a974e
[xtext][ecoreInference] Make sure that the ecore inference uses the referenced EObject from the grammar to check for compatibility
2011-08-15 11:50:18 +02:00
Sven Efftinge
213305f989
[Xtext] introduced guard to check whether a lazy proxy uri points to the current resource (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=354458 )
2011-08-15 11:11:37 +02:00
Moritz Eysholdt
7145647732
[serializer] use ConcreteSyntaxValidator, since it still has the better error messages
2011-08-12 20:28:11 +02:00
Moritz Eysholdt
c3b8574aac
[junit/ParameterizedXtextRunner] implemented several expectation validators
2011-08-12 16:50:40 +02:00
Sebastian Zarnekow
85acfa2592
Try to make the error message on the build server more meaningful
2011-08-11 19:53:00 +02:00
Sebastian Zarnekow
20f6c28e38
[xtext][tests] Updated languages to use nsURIs instead of class path URIs
2011-08-11 15:01:59 +02:00
Sebastian Zarnekow
fca3a42aeb
[xtext][validation] Guard against NPE to simplify debugging
2011-08-11 09:49:15 +02:00
Sebastian Zarnekow
5594c65ae4
[xtext][tests] two test cases had to be adapted … at least ;-)
2011-08-10 19:14:08 +02:00
Sebastian Zarnekow
7b70aed01e
[xtext][grammar] Use the index to find EPackages that are imported via nsURI
2011-08-10 18:35:59 +02:00
Sebastian Zarnekow
8c4e33268d
[xtext][linking] Fix: Custom scope provider implementations may break the tracking of imported names
2011-08-10 18:04:53 +02:00
Moritz Eysholdt
ae3d8b13f7
added missing dependency
2011-08-09 17:12:35 +02:00
Moritz Eysholdt
6092222762
[junit4] improved ParameterizedXtextRunner
2011-08-09 16:58:28 +02:00
Moritz Eysholdt
82ab2e44bd
[utils] added Strings.wordWrap() and FormattingMigrator
2011-08-09 16:58:28 +02:00
Moritz Eysholdt
9169425906
[ParameterizedXtextRunner] inject stuff into tests hand setup/restore registries
2011-08-05 11:59:03 +02:00
Moritz Eysholdt
53764e56df
removed unneeded import
2011-08-05 00:10:07 +02:00
Moritz Eysholdt
a5961f63d9
better don't adopt strings instead of doing it wrong
2011-08-04 23:51:45 +02:00
Moritz Eysholdt
5ba07073db
introducing the ParameterizedXtextRunner
2011-08-04 23:27:33 +02:00
Sven Efftinge
f32aa66dd7
[Xtext] introduced isUpdating flag in XtextResource
2011-08-04 15:14:25 +02:00
Moritz Eysholdt
a2ac90c83d
[xtext.junit4] moved serializer classes to xtext.junit4-package
...
This fixes a name collsion with the same classes from the xtext.junit-bundle/package
2011-08-04 10:54:49 +02:00
Moritz Eysholdt
4b4789bf5a
[util.formallang/serializer] improvements based on suggestions from FindBugs
2011-07-31 17:59:13 +02:00
Moritz Eysholdt
c26a44f227
[serializer] fixed 352672 - strange error message for missing feature
2011-07-31 17:57:13 +02:00
Moritz Eysholdt
549586fcad
regenerated test languages, xbase and xtend2
2011-07-31 17:36:50 +02:00
Moritz Eysholdt
5b18309903
no test class without test case
2011-07-31 17:30:15 +02:00
Moritz Eysholdt
5065d284e5
[serializer/tests] added newly generated serializer files
2011-07-31 17:18:31 +02:00
Moritz Eysholdt
9814770434
[serializer/tests] disabled and not supported
...
This test checks if a model can serialized when it has un-scopable cross
referenced. The old serializer used to delegate to the node model, take
the value from there and continue quietly.
This behavior can lead to
- overlooked bugs in one's scoping implementation
- mysterious usage of wrong (old) cross reference
values during serialization
- Models which have "successfully" been serialized but can not be
parsed/linked again.
Therefore, I think it makes sense to support this mechanism as soem kind
of error recovery. However, it should at least raise a warning.
2011-07-31 17:18:31 +02:00
Moritz Eysholdt
f0585b349a
[serializer/tests] this seems to work now as expected
2011-07-31 17:18:31 +02:00
Moritz Eysholdt
157efb904c
[serializer/tests] fixed the formatter test
2011-07-31 17:18:31 +02:00
Moritz Eysholdt
15f6459fe7
[serializer/tests] don't use use new serializer because of bug 346695
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346695
2011-07-31 17:18:31 +02:00
Moritz Eysholdt
773bd83989
[serializer] improved sequence acceptor
...
- handle case-insensitive keywords properly
- init TokenStream properly
- in a TokenStream, cross references seem to be represented by a
CrossRef-Object and not by a RuleCall object.
2011-07-31 17:18:30 +02:00
Moritz Eysholdt
21aee073b3
[serializer/tests] added handler for transient values
2011-07-31 17:18:30 +02:00
Moritz Eysholdt
2c3eccf95a
[serializer/tests] fixed test for transient values
2011-07-31 17:18:30 +02:00
Moritz Eysholdt
23c5a32a7c
[serializer/ContextFinder] fixed potential NPEs
2011-07-31 17:18:30 +02:00
Moritz Eysholdt
2d351208c3
[serializer/tests] only expect the abstract semantic sequencer
2011-07-31 17:18:30 +02:00
Moritz Eysholdt
c680faa70b
[serializer] generate src-version of serializer, where needed due to subclassing
2011-07-31 17:18:29 +02:00
Moritz Eysholdt
fbd050e803
[serializer] enabled the new serializer for most test languages
2011-07-31 17:18:29 +02:00
Sebastian Zarnekow
583283cabb
[xtext][linking] Fix: Don't treat http URIs as resource URIs
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=343423
2011-07-31 15:43:07 +02:00
Sebastian Zarnekow
d78245d4e7
[xtext][nodemodel] Added test for bug 345874
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=345874
2011-07-30 00:06:28 +02:00
Sebastian Zarnekow
f5f8475e46
[xtext.ui][xtend.ui][xtext] Minor fixes for issues that were revealed by FindBugs
2011-07-29 20:28:37 +02:00
Sebastian Zarnekow
44bbfabcab
[xtext] Fix: NPE in EObjectAtOffsetHelper
...
The helper failed for grammars like this:
RuleA: RuleB feature=[EObject];
RuleB: name=ID;
Turned out to be a combined problem in NodeModelUtils and EObjectAtOffsetHelper
2011-07-29 19:45:41 +02:00
Moritz Eysholdt
e51a0b84d0
[serializer/SynSeq] improved the hook for syntactic ambiguities
2011-07-29 14:15:26 +02:00