Commit graph

2082 commits

Author SHA1 Message Date
Jan Koehnlein
3a8675692d [validation] Grammar must have a namespace
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348052
2011-09-13 11:52:03 +02:00
Sven Efftinge
7298e48e91 [Xtext] renamed identifiers in ILateInitialization 2011-09-13 11:47:51 +02:00
Sven Efftinge
50e75f71c3 [Xtext] removed NotifiactionDispatcher 2011-09-13 11:47:51 +02:00
Sven Efftinge
2515cef22b [Xtext] more changes about notifications 2011-09-13 11:47:49 +02:00
Sven Efftinge
708cc98831 [Xbase] made JvmModelInferrer use INotificationDispatcher 2011-09-13 11:47:49 +02:00
Sven Efftinge
fb99b08b69 [Xtext.util] added NotificationDispatcher 2011-09-13 11:47:48 +02:00
Sven Efftinge
05715333ae [Xtext] introduced discardLateInitialization 2011-09-13 11:47:48 +02:00
Sven Efftinge
d5b3e8b4ad [Xbase] changed interface of IJvmModelInferrer 2011-09-13 11:47:47 +02:00
Sven Efftinge
9c34a63d68 [Xtext] added late initializing resource 2011-09-13 11:47:46 +02:00
Sven Efftinge
370004719a [Xtext & Xbase] deactivated caching of unresolved proxy's, "fine tuned" caching in AbstractTypeProvider 2011-09-13 11:47:46 +02:00
Sven Efftinge
736b17f78f [Xtext] added missing guard in OnChangeEvictingCache, disabled caching strategy in Xbase's TypeProvider 2011-09-13 11:47:45 +02:00
Sebastian Zarnekow
1f18fcb94b [xtext][builder] Fix: Fast-skip container references in resource description strategy, index cross containment references 2011-09-12 22:22:59 +02:00
Moritz Eysholdt
2fa1d8ffc6 [serializer] fixed potential NPEs 2011-09-09 19:20:56 +02:00
Moritz Eysholdt
12b8911dbd [serializer] improved handling of node model in the BacktrackingSemanticSequencer 2011-09-09 19:00:47 +02:00
Moritz Eysholdt
d6b0a8d84d [serializer] fixed a potential NPE 2011-09-09 19:00:47 +02:00
Moritz Eysholdt
c91db73277 [serializer] improved error reporting 2011-09-09 19:00:47 +02:00
Moritz Eysholdt
7442ed73ba made LookaheadTestLanguage.xtext serializeable. 2011-09-09 19:00:46 +02:00
Jan Koehnlein
1ab1b0bd5a [refactoring] Use qualified names in author tags :-) 2011-09-08 11:49:39 +02:00
Sven Efftinge
f7e7159d49 [junit4] added base class for smoke tests 2011-09-05 19:49:11 +02:00
Michael Clay
588d59a6f9 [xtext.ui] Replace the existing node model selection with a default impl based on the eObject model containment hierarchy. 2011-09-05 09:42:11 +02:00
Jan Koehnlein
10e44c9559 [refactoring] Use resource descriptions that shadow the global ones with local resource set contents
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=356092
2011-09-02 13:36:28 +02:00
Jan Koehnlein
9c953cfdf7 [serializer] added IDs to ISerializationDiagnostic 2011-09-01 13:35:53 +02:00
Sebastian Zarnekow
0e0de7a032 [xtext][tests] Fixed failing tests for EObject references 2011-08-30 21:43:21 +02:00
Sebastian Zarnekow
1dfcafc3df [xtext][ui] Prevent NPE in EObjectAtOffsetHelper 2011-08-30 20:43:17 +02:00
Sebastian Zarnekow
4750d71114 [xtext][linking] Fix: EObject from the registry is super type of everything
Made implementation symmetric to EMF's semantics

see also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=346035
2011-08-30 20:43:17 +02:00
Sebastian Zarnekow
5a65a6076f [xtext][generator] Allow to populate the resource set with additional resources
That can be used to populate the index.
2011-08-30 20:43:16 +02:00
Sebastian Zarnekow
35c56f7787 [xtext][tests] Fixed failing Xtext2EcoreTransformerTest
It used JvmArrayTypes to test the error messages for erroneous grammars
2011-08-28 00:03:40 +02:00
Sebastian Zarnekow
613869931e [xtext] Fix: NodeModelUtils#findActualNodeFor(EObject) returns wrong node
It did not handle cases like 
(A|B) c=C 
for C correctly

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=353969
2011-08-27 15:35:05 +02:00
Jan Koehnlein
86125cdb6d [tests] Lower bound for versions of all JUnit dependencies 2011-08-26 15:30:27 +02:00
Sven Efftinge
5b71eccd99 [Xtext] added lost cast again 2011-08-26 10:41:59 +02:00
Sven Efftinge
487d7f195c [Xtend / common types] proposals for local variable names based on type names see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355919 2011-08-26 09:41:18 +02:00
Sven Efftinge
4a0c4c43aa [Xtext] look up cross reference left to the offset if the node on the right is not a cross reference. see https://bugs.eclipse.org/bugs/show_bug.cgi?id=347284 2011-08-24 13:19:11 +02:00
Sebastian Zarnekow
064250dd1b [xbase][linking] Minor changes in LazyJvmFeatureScope 2011-08-22 22:44:05 +02:00
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