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
Moritz Eysholdt
ffac5ffa1e
[util.formallang/PdaUtil] added method to filter unambiguous edges
2011-07-29 14:15:26 +02:00
Moritz Eysholdt
a13184ab98
[util.formallang/NfaUtil] various improvements
...
- never filter start/stop;
- implemented breadth-first search
2011-07-29 14:15:25 +02:00
Moritz Eysholdt
433fa68ca7
[util.formallang/NfaToGrammar] support NFAs where start == stop
2011-07-29 14:15:25 +02:00
Moritz Eysholdt
2e7066533c
[serializer/generator] simplified generated method names
2011-07-29 14:15:25 +02:00
Moritz Eysholdt
0b30cf19ad
[serializer/GrammarConstraintProvider] improved readability of code
2011-07-29 14:15:25 +02:00
Moritz Eysholdt
1f121c5a62
[serializer/BacktrackingSemSeq] dynamically sort NFA to prefer mandatory over optional values
2011-07-27 16:46:16 +02:00
Moritz Eysholdt
2641242507
[serializer/ContextFinder] delegate to the AssignmentFinder, if needed
2011-07-27 14:19:30 +02:00
Moritz Eysholdt
d8494783e4
[serializer/BacktrackingSemSeq] improved toString() to ease debugging
2011-07-27 14:17:04 +02:00
Moritz Eysholdt
cb8eb3ff38
[serializer/GrammarConstraintProvider] Consider actions in lookahead
2011-07-27 14:15:29 +02:00
Moritz Eysholdt
f86a429192
[util.formallang] factored out StringNfa and StringPda
2011-07-26 18:17:29 +02:00
Moritz Eysholdt
9d86ca6952
[util.formallang] a graph has nodes, not states
2011-07-26 16:16:00 +02:00
Moritz Eysholdt
469b58e652
[util.formallang] removed ITokenAdapter, better use Function<X,TOKEN>
2011-07-26 16:12:13 +02:00
Moritz Eysholdt
804bfe2b95
[util.formallang] removed invalid test case
...
PDAs/NFAs without start and stop states are invalid.
2011-07-26 16:09:29 +02:00
Moritz Eysholdt
307557f43c
[util.formallang] improved naming
2011-07-26 13:06:37 +02:00