Commit graph

4038 commits

Author SHA1 Message Date
Sebastian Zarnekow
5746bbb063 [263773] Fixed NodeModelUtils and XtextProposalProvider 2015-08-12 20:38:15 +02:00
Sebastian Zarnekow
7dc12ffa66 [263773] Regenerated xbase 2015-08-12 20:38:12 +02:00
Sebastian Zarnekow
d8bcdc40b0 [263773] Xtext grammar enhancements (tests src-gen)
This commit contains the generated code for the tests.
2015-08-12 17:51:07 +02:00
Sebastian Zarnekow
e6d3807b94 [263773] Xtext grammar enhancements (tests)
This commit contains the test code for the
the new features without generated code
2015-08-12 17:51:05 +02:00
Sebastian Zarnekow
9185cb9cca [263773] Xtext grammar enhancements (src)
- Explicit rule calls and super rule calls
  - name=super::ID
  - name=Terminals::ID
  - feature=com::acme::MyLang::SomeRule
- Parser rule fragments
  - fragment DeclarationOwner:
      declarations+=Declaration+;
- Parameterized rule calls:
  - IdOrKeyword<AllowKeyword>:
      <AllowKeyword> ‘keyword’ | ID;

This commit contains the changes to the Xtext core
plugins without any changes to generated code.
2015-08-12 17:51:00 +02:00
Sven Efftinge
1f642242c2 [473621] IDEA / fix breakpoint behavior - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=473621 2015-08-12 11:33:03 +02:00
Dennis Huebner
c216c609ff [validation] Some minor fixes regarding PR #440
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-08-12 10:07:21 +02:00
Sven Efftinge
2bb7fa7f6f Merge pull request #461 from eclipse/se/idea_builder_fixes
[idea] fixed problem with deletion of folders not triggering events for its children, registered IndexedJvmTypeAccess for auto builder
2015-08-07 18:45:52 +02:00
Sven Efftinge
6c42b0f6c4 [idea] fixed problem with deletion of folders not triggering events for its children, registered IndexedJvmTypeAccess for auto builder 2015-08-07 17:48:40 +02:00
Moritz Eysholdt
bba77e5591 [472592][idea] Implement DocumentationProvider
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-07 16:47:41 +02:00
Moritz Eysholdt
1ff3694546 [idea] fix IdeaGrammarSerializerTest
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-07 09:32:30 +02:00
Moritz Eysholdt
2d80c45669 Merge pull request #457 from eclipse/me/xtext_xtext_scoping
[xtext.xtext] use IResourceDescription.Manager for scoping
2015-08-06 15:52:53 +02:00
Moritz Eysholdt
30859bf881 Merge pull request #456 from eclipse/me/bug473612
Me/bug473612
2015-08-06 14:44:05 +02:00
Moritz Eysholdt
97e20348b3 [xtext.xtext] use IResourceDescription.Manager for scoping
...instead of GlobalResourceDescriptionProvider. 

Because when the grammar is loaded from an .xtextbin file, 
the GlobalResourceDescriptionProvider returns null, because there
is no IResourceServiceProvider registered for *.xtextbin.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 14:15:15 +02:00
Moritz Eysholdt
1b6a71b2e6 [xtext.xtext][serializer] Updated several test expectations.
the new serializer...
- doesn't loose optional parenthesis anymore
- produces text replacements starting at node.getTotalOffset() 
  (the PTC produced them for node.getOffset()).

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 13:27:22 +02:00
Moritz Eysholdt
86478856de [xtext.xtext] delete FQN-Provider and re-enable serializer test
The old XtextQualifiedNameProvider defined "::" as delimiter.
However, qualified names (grammar names) in Xtext use "." as delimiter. 

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 10:58:39 +02:00
Moritz Eysholdt
30b3b0c1e7 [473612] [serializer] don't loose causing exception
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 10:58:36 +02:00
Moritz Eysholdt
88f88178f4 [xtext.xtext] use new Serializer instead of ParseTreeConstructor
The 'SerializerFragment' is intentionally not used because it generates
Java files which would become public API. 

The Serializer is fully functional without the SerializerFragment.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 08:55:11 +02:00
Sven Efftinge
d2d3b10b56 [trace] removed unused Type parameters and unused inverseView methods 2015-08-05 14:08:37 +02:00
Sven Efftinge
5c79f9b407 [idea / trace] some smaller fixes and improvements 2015-08-05 11:37:08 +02:00
Moritz Eysholdt
92f379602e [trace] fixed a minor issue in trace#toString()
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-04 14:05:36 +02:00
Sebastian Zarnekow
46cb782598 Regenerating Xtext, Xbase, Xtend and examples without ISetupExtension 2015-08-04 10:54:10 +02:00
Sebastian Zarnekow
f69c1883ed [466354] Remove ISetupExtension interface 2015-08-04 10:17:59 +02:00
Moritz Eysholdt
3ab3c040b4 made storage aware trace more accessible
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-03 16:57:29 +02:00
Moritz Eysholdt
422cc81b70 [trace] visualize traces in toString()
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-03 16:57:26 +02:00
Moritz Eysholdt
91a532e593 introduce AbstractTrace.getContentsAsText(URI, IProject)
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-03 13:02:12 +02:00
Dennis Huebner
4f62bef554 Merge pull request #440 from eclipse/dh-bug377775
[validation] Improve error message for unresolved methods. Bug 377775
2015-08-03 08:02:51 +02:00
Dennis Huebner
f63ba0d9c9 [validation] Moved TypeAwareMessageProducer to xbase
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-07-31 16:47:36 +02:00
Sebastian Zarnekow
51f7691979 [473079] Removed wrong guard condition 2015-07-31 14:23:04 +02:00
Sebastian Zarnekow
8ec7987961 [473079] Some more cleanup 2015-07-31 14:17:27 +02:00
Sebastian Zarnekow
d0df4b85d7 [473079] Cleanup, Javadoc 2015-07-31 14:05:08 +02:00
Sebastian Zarnekow
41c70b2b05 [473079] Don’t operate on views but on defensive copies, don’t ignore delete events 2015-07-30 18:32:29 +02:00
Sebastian Zarnekow
3cb3ad4cfb Merge remote-tracking branch 'origin/master' into sz/bug473079 2015-07-30 18:05:43 +02:00
Sebastian Zarnekow
af83686796 Merge remote-tracking branch 'origin/master' into sz/bug473079 2015-07-30 15:23:01 +02:00
Stefan Oehme
d932036648 Merge remote-tracking branch 'origin/master' into so_idea_performance
Conflicts:
	intellij/org.eclipse.xtext.idea/src/org/eclipse/xtext/idea/common/types/PsiBasedTypeFactory.xtend
	intellij/org.eclipse.xtext.idea/src/org/eclipse/xtext/idea/common/types/StubJvmTypeProvider.xtend
	intellij/org.eclipse.xtext.idea/xtend-gen/org/eclipse/xtext/idea/common/types/PsiBasedTypeFactory.java
	intellij/org.eclipse.xtext.idea/xtend-gen/org/eclipse/xtext/idea/common/types/StubJvmTypeProvider.java
2015-07-30 14:30:09 +02:00
Stefan Oehme
d0f0c9abd5 make the incremental builder cancellable 2015-07-30 14:19:52 +02:00
Sebastian Zarnekow
1c7b031503 [473079] Minor changes and tests for IDEA traces 2015-07-29 15:28:21 +02:00
Sebastian Zarnekow
a1704743f1 [473079] Continued work on ITraceForVirtualFileProvider 2015-07-28 15:45:48 +02:00
Sebastian Zarnekow
47bc590774 [473079] Extracted platform specific interfaces for traces 2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
d566feac18 [473079] Factored common functionality into abstract base class 2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
8fb143b1ab [473079] More guards for SourceRelativeURI 2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
68cc4a45d2 [473079] Fixed assumption: In-memory resources may use non-absolute URIs 2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
efbe82f754 [473079] Added backwards compatibility test for trace i/o 2015-07-28 15:45:45 +02:00
Sebastian Zarnekow
abe9b0a60d [473079] Rename method to clarify semantics, persist useForDebugging flag in trace files 2015-07-28 15:45:45 +02:00
Sebastian Zarnekow
0d260f252b [473079] Added more API filters 2015-07-28 15:45:44 +02:00
Sebastian Zarnekow
1355ac0773 [473079] Some cleanup wrt SourceRelativeURI / AbsoluteURI 2015-07-28 15:45:43 +02:00
Sebastian Zarnekow
549e95e344 [473079] Introduced value types for URIs
Makes it easier to handle source relative and absolute URIs
2015-07-28 15:45:42 +02:00
Sebastian Zarnekow
9a1506c5b1 [473079] First steps towards platform independent trace API 2015-07-28 15:45:41 +02:00
Sebastian Zarnekow
716b8db34e Merge remote-tracking branch 'origin/maintenance' into sz/merge_from_maintenance 2015-07-28 15:18:12 +02:00
Sven Efftinge
98f84d430e [473712] fixed NPE 2015-07-28 09:09:33 +02:00