Commit graph

3151 commits

Author SHA1 Message Date
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
Moritz Eysholdt
33cf91f841 [trace] 397981: rework path information to be usable when packaged in JARs 2013-01-16 15:35:32 +01:00
Sebastian Zarnekow
7b19fa59f3 [xbase][typesystem] Proper validation of types that may not be 'void' 2013-01-15 16:50:01 +01:00
Moritz Eysholdt
d61d991051 [test] added a test to ensure trace files in version 3 can be parsed. 2013-01-15 13:55:23 +01:00
Moritz Eysholdt
001d405ff9 [trace] introduced version 4 of the trace file format 2013-01-15 10:27:26 +01:00
Dennis Huebner
dc71a5cac9 [validation] IssueSeverities#getSeverity(String code) never returns null 2013-01-14 16:58:24 +01:00
Sven Efftinge
cbff5379a7 added compiler settings 2013-01-14 16:55:01 +01:00
Sven Efftinge
4bc6ef20b1 [xbase] check for loaded status before inferring derived state. 2013-01-14 16:55:01 +01:00
Sven Efftinge
c6e57b4a64 [test] don't log expected stack traces to console during testing. 2013-01-14 16:55:01 +01:00
Holger Schill
458fd35edd [JavaDoc] Fix false positive when there is no linebreak 2013-01-14 16:51:48 +01:00
Moritz Eysholdt
576fa3caa3 [trace] 397981: removed support for project name from LocationData 2013-01-14 15:50:28 +01:00
Dennis Huebner
a5ed57d996 [validation] return ignore severity and log an error if a configurable
issue is not registered. Updated launch configurations.
2013-01-14 13:27:21 +01:00
Holger Schill
8122160310 [JavaDoc] more tests and improvements 2013-01-14 12:54:17 +01:00
Holger Schill
1eb0cf3aae fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=397992 2013-01-13 17:03:50 +01:00
Moritz Eysholdt
f3dd2f5435 removed unnecessary test helper code 2013-01-11 16:57:57 +01:00
Sven Efftinge
06a09c41d5 [Tests] made logging testable. 2013-01-11 11:22:13 +01:00