Commit graph

3166 commits

Author SHA1 Message Date
Sven Efftinge
265728480f trying ConcurrentHashMap 2012-05-22 09:44:00 +02:00
Sven Efftinge
45479a327b [tests] ignore concurrent access tests with simple XtextResourceSet. They deadlock on the server (but not on my box) 2012-05-22 08:19:21 +02:00
Sven Efftinge
3c486ef782 [XtextResourceSet] updates URIMap when resource's URI changes
[Xtext] LinkingService checks whether an EPackage already exists, since it's used during serialization.
2012-05-21 20:33:13 +02:00
Moritz Eysholdt
155ff05904 prevent IAE from bug 379247 2012-05-21 17:07:38 +02:00
Moritz Eysholdt
fb00bf81dc improved AbstractTraceRegion.toString() 2012-05-21 17:06:32 +02:00
Sven Efftinge
7e6bcef1cd removed optimization causing ConcurrentModificationException 2012-05-21 14:36:21 +02:00
Sven Efftinge
1397889adf removed println 2012-05-21 08:31:01 +02:00
Sven Efftinge
52ba214c7d [XtextResourceSet] some additional constraint checking and error logging 2012-05-21 08:28:05 +02:00
Sven Efftinge
2d01ea6641 added null guard 2012-05-20 20:02:22 +02:00
Sven Efftinge
a5f53722c3 [core] XtextResourceSet maintains urimap with original and normalized URI. 2012-05-20 19:42:35 +02:00
Sebastian Zarnekow
3e252e7d08 [xbase][conversion] Fixed NPE in value converter for the INT rule
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=380045
2012-05-19 13:12:45 +02:00
Moritz Eysholdt
8286d800c2 [serializer] fixed 368180: Exception when serializing 0.0 typed ecore::EDouble 2012-05-18 14:56:14 +02:00
Moritz Eysholdt
eece8d7a66 [serializer/NodeModelSemanticSequencer] fixed handling of datatype rules 2012-05-18 14:51:54 +02:00
Moritz Eysholdt
1066825df8 [serializer] fixed 364181: Serializer#serializeReplacement() ignores SaveOptions 2012-05-18 13:04:54 +02:00
Moritz Eysholdt
c0d236a162 [serializer/AssertStructureAcceptor] don't check context for root element 2012-05-16 15:11:25 +02:00
Moritz Eysholdt
c6036e107b [SerializerTester] improved debug output 2012-05-16 15:11:25 +02:00
Sven Efftinge
b1d989031a minor enhancements in XtextResourceSet 2012-05-16 14:15:11 +02:00
Sven Efftinge
29f6b4b621 introduced XtextResourceSet.getResourceWithoutNormalization to circumvent expensive normalization and iteration over all resources (see also https://bugs.eclipse.org/bugs/show_bug.cgi?id=372527) 2012-05-16 12:06:43 +02:00
Moritz Eysholdt
34d2c52381 disable the serializer test for semantically ambiguous parser tests 2012-05-15 18:04:02 +02:00
Moritz Eysholdt
ba0ff9c43c [serializer] bug fix: some events were not properly propagated 2012-05-15 18:04:02 +02:00
Moritz Eysholdt
3c2a8802c6 [SerializerTester] enabled AssertStructureAcceptor by default 2012-05-15 18:04:01 +02:00
Sebastian Zarnekow
d8cef50b3e [xbase][typesystem] WIP: Eliminate references to old type provider from batch scoping
- Added XAbstractFeatureCall#getActualTypeArguments
- Add missing Object upper bounds to wildcard references in JvmTypesBuilder#cloneAndAssociate
- Package scoping.batch with the rewritten scope stuff for Xbase
- Continued the type system reimplementation
2012-05-14 12:53:49 +02:00
Moritz Eysholdt
67714808eb fixed 371999: NPE in serializer without warning/error from compiler 2012-05-14 11:23:28 +02:00
Moritz Eysholdt
caf4a822f8 [serializer] removed an unneeded membervariable 2012-05-11 11:03:24 +02:00
Moritz Eysholdt
6409c3cdde added forgotten test language to GenerateAllTestLanguages.mwe2 2012-05-10 10:54:39 +02:00
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