Sebastian Zarnekow
2624703ea7
[xbase][contentAssist] Fix: Representation of function types
...
Only native function types should be represented by
function type references, e.g. Iterable<String> is not
()=>Iterator<String>
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=402716
2013-03-11 11:39:10 +01:00
Sebastian Zarnekow
55c155fdf1
[xbase][validation] Optional validation of undeclared exceptions
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=400936
Change-Id: If9dc2545eb94c6f1e89687fad40ff9161c3d7b8e
2013-03-07 19:05:38 +01:00
Moritz Eysholdt
ce25ccc1e5
[xbase] added support for IClassFileEditorInput
...
- Added support to load trace files for IClassFiles
-> this fixes https://bugs.eclipse.org/bugs/show_bug.cgi?id=401527
Change-Id: I4dfb88fd8eeb937ddbad1469bd13a13d2224330c
2013-03-07 17:36:03 +01:00
Sebastian Zarnekow
94029a0173
[xtext][junit] Reduce the number of injectors in the tests
...
Instead of the map of Class<Test> -> InjectProvider a
mapping of Class<InjectorProvider> -> InjectorProvider
is used.
2013-03-06 19:19:24 +01:00
Sebastian Zarnekow
79768f3ba4
[xtend][contentAssist] Remaining work for bug 365368
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365368
2013-03-06 12:03:21 +01:00
Sebastian Zarnekow
5b98d8db9a
[xbase][validation] Improve error ranges for conformance problems
2013-03-04 11:26:59 +01:00
Sebastian Zarnekow
a18d6b0051
[xtext][resource] Improved null contract for ISynchronizable
...
Change-Id: Ifee0b5e7e94c79879270b92d57aba260b1920411
2013-02-27 02:15:41 -05:00
Sven Efftinge
f13db54d2b
[common types] made TypeResource implement ISynchonizable and synchonized computation and resolution in JvmDeclaredTypeImplCustom
2013-02-26 07:10:17 -05:00
Dennis Huebner
ecd77565d6
[cp-tests] classpath validation tests, checkClassPath for XtendFile
2013-02-26 10:57:23 +01:00
Sebastian Zarnekow
4cfeedb02c
[xbase][validation] Fix: Detect restricted access violation in local workspace
2013-02-25 14:18:13 -05:00
Knut Wannheden
bf5fc00e09
[deps][bug 401285] use package-import to depend on guava
...
Xtext and Xtend should use Package-Import declarations to depend on
Guava rather than Require-Bundle declarations. The reason for this is
that the user may want to use a different bundle than the standard
com.google.guava bundle; e.g. com.google.guava.jdk5.
Also Xtext and Xtend should when possible omit the version qualifier
from the dependencies on Guava. The reason being that if Xtext depends
upon a specific Guava version, e.g. version="10.0.1", then users would
not really be able to use any other Guava version, since the major
version is incremented with every release. So if a specific minimum
version of Guava is required it is be best to test against all current
Guava versions and then specify a version range as in e.g.
version="[10.0.1,14.0.0)". These dependencies should
then be updated when new versions of Guava become available.
This change corrects all Xtext and Xtend Guava dependencies and adds
API filters where necessary. Bundle re-exports remain, but are optional.
Change-Id: Iae2140ce606f697d9f5300f39b2e161dd5e02047
2013-02-25 14:14:54 -05:00
Sebastian Zarnekow
3e6a154bf5
[xbase][validation] Don't traverse inferred JVM elements
2013-02-25 10:09:30 +01:00
Jan Koehnlein
205cf3d1dc
[xtend][validation] field initializers cannot be void
...
Change-Id: I6c977e8e7f1851f152d06eccf835e26b0c655c21
2013-02-21 15:30:16 +01:00
Jan Koehnlein
5ecf7c2f74
[xbase][validation] check for forward references to type parameters
...
Change-Id: I7caebcb4683e627ebf615fa47dd647742eb8ebfc
2013-02-21 15:30:15 +01:00
Moritz Eysholdt
525dc13b67
[smap] install path information into SMAP, not just a simple file name
2013-02-21 07:55:23 -05:00
Moritz Eysholdt
dcdd52a09a
multiple fixes
...
Bug 399490 - [typesystem][validation] Use the configured severity for issue codes
Bug 399489 - [validation] Introduce an issue code for unhandled exceptions
Bug 399492 - [typesystem] Provide information about declared / uncatched exceptions
Change-Id: I6a17277770d97142efd7acc711ace1be0011f881
2013-02-18 04:03:59 -05:00
Knut Wannheden
3e52d685c4
[validation][bug 400989] Get issue location from parent node
...
DiagnosticConverterImpl#getLocationData() can only retrieve the
location data (line number, offset, and length) if there is any node
in the parse tree directly corresponding to the semantic object. This
commit changes this by retrieving the location data for the container
object in that case. Additionally there is a last fallback which
will return location data (0, 0, 0) to make sure that there will
always be an annotation displayed in the editor.
Change-Id: Ied45b9dcaa402e32de94da496601116b6c4c3293
2013-02-17 14:10:03 +01:00
Sebastian Zarnekow
df18d11326
[valueConversion] Guard against concurrent access
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=400061
2013-02-14 12:26:44 +01:00
Sebastian Zarnekow
c94c1e452d
[xbase][editor] Reduce dead-lock potential
2013-02-12 17:25:54 +01:00
Sebastian Zarnekow
5e26a58a7c
[resource] Convince the API tooling that everything is ok
2013-02-12 11:15:07 +01:00
Dennis Huebner
6f1cf5740a
[tests-launch] new name convention (xtext)
2013-02-11 20:54:13 +01:00
Sebastian Zarnekow
dc59cb19c2
[api-tooling] Some hints for the API tooling
2013-02-11 16:43:38 +01:00
Sebastian Zarnekow
1cacf4bb5e
[xtext][resource] Missing artifact: ISynchronizable
2013-02-11 13:46:14 +01:00
Sebastian Zarnekow
2d15d4e65a
[xbase][typesystem] Guard against concurrent resolution
...
Should prevent dead locks and other surprises.
2013-02-11 12:02:46 +01:00
Jan Koehnlein
d802e2cc88
Disabling JDT null analysis to make code compile on Kepler M5
...
Change-Id: I8fb24bc8e3b91682e5d99c26aa6c7d3083dddf5a
2013-02-11 10:33:06 +01:00
Sebastian Zarnekow
160d62f8be
[xtext] Clean-up, Organize imports
2013-02-11 02:05:52 +01:00
Sebastian Zarnekow
c840b0c403
[xtext][validation] Minor: Obsolete snippet in Javadoc
2013-02-08 08:59:09 +01:00
Sebastian Zarnekow
ed19dcf7bb
[xtext] Make API tooling happy
2013-02-06 18:30:49 +01:00
Dennis Huebner
b9aafcf252
[javadoc-gen] fixed javadoc sources location (removed old xtend repo)
2013-02-05 15:29:23 +01:00
Holger Schill
2e08706f69
Generated Code View is broken see https://bugs.eclipse.org/bugs/show_bug.cgi?id=399465
...
Change-Id: Id9b6b81b20a88f1cabd2801b092983a1107f294e
2013-02-04 15:01:10 +01:00
Moritz Eysholdt
c08a03295a
[trace] be able to handle multiple associated LocationDatas
2013-01-31 11:12:56 +01:00
Jan Koehnlein
4f242d3429
[xtend][highlighting] syntax highlighting for contextual keywords from FeatureCallID
...
Change-Id: I8e7792bcaf22f6f1f18ec84676c84ce78ef75e6c
2013-01-29 17:23:52 +01:00
Sebastian Zarnekow
23699d44eb
[typo] Fixup: Rename StopWatches -> Stopwatches, StopWatched -> Timed
...
Change-Id: Ife9ea6eb262e04d9b04ca871fb5a2d849eddbddf
2013-01-29 10:58:49 +01:00
Sebastian Zarnekow
03ccfae348
[typo] Rename StopWatches -> Stopwatches, StopWatched -> Timed
...
Change-Id: Ife9ea6eb262e04d9b04ca871fb5a2d849eddbddf
2013-01-29 09:05:37 +01:00
Sven Efftinge
ad5849a24f
[xtext] SerializerScopeProvider binding should redirect to IScopeProvider by default.
2013-01-28 14:50:05 +01:00
Sven Efftinge
a369aa711f
[xtext generator] fix API compatibility issue (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=399261 )
2013-01-28 14:40:08 +01:00
Sven Efftinge
c9a2f51cce
[xtext] added @Singleton annotations
2013-01-28 09:52:15 +01:00
Jan Koehnlein
3c441be3e3
[xtend][grammar] Allow modifiers and visibility keywords to appear in any order - test fixes and value converters
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381327
Change-Id: I26a6a57c5704fabcbe66d0282beed4e5896a232d
2013-01-25 14:25:55 +01:00
Holger Schill
f2c37bfc41
[JavaDoc] ContentAssist for typeProposals after @link & @see
2013-01-25 13:47:50 +01:00
Sebastian Zarnekow
d2583d4a6b
[resource][tests] Fixed invalid test case for EMF 2.9
2013-01-25 13:40:49 +01:00
Sebastian Zarnekow
96fb0e81ed
[xbase][typesystem] Make the serializer tests pass with the new type system
...
Introduced @SerializerScopeProvider similar to @LinkingScopeProvider to
allow for optimized implementations
Change-Id: Iec84687cd30b7326aac77db66cd9436542f54f39
2013-01-24 22:36:03 +01:00
Sven Efftinge
29a9dcf61a
[xbase] make sure JvmElements get proxified (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=398439 )
2013-01-24 10:53:34 +01:00
Holger Schill
6fcb204388
[Validation] Added new methods to deal with explicit offset and length for issues
2013-01-24 10:33:32 +01:00
Holger Schill
808bd484be
[JavaDoc / Compiler] Validation / Improved importhandling for JavaDoc
2013-01-23 13:25:34 +01:00
Sebastian Zarnekow
362106a8ac
[diagnostics] NPE guards in AbstractDiagnostic
2013-01-21 11:52:41 +01:00
Moritz Eysholdt
cc79328350
[smap] use simple names instead of paths
2013-01-18 13:52:24 +01:00
Sebastian Zarnekow
ce05a82891
[xtext][validation] Linking issues are not syntax errors
2013-01-18 11:28:15 +01:00
Sebastian Zarnekow
80bf4bc4ec
[xbase][validation] Validate naming problems of local vars and parameters
2013-01-17 17:55:00 +01:00
Moritz Eysholdt
398a2a3363
[trace] moved up a method to make it available for more clients
2013-01-16 17:11:00 +01:00
Sebastian Zarnekow
dccd19723d
[trace] Added default binding for ITraceURIConverter
2013-01-16 16:37:38 +01:00