Commit graph

1579 commits

Author SHA1 Message Date
Dennis Huebner
82df7c12ce [tests] Failing test - changed expectation needs review Bug 475692
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-08-24 11:36:29 +02:00
Sebastian Zarnekow
f92e0d7195 [263773] Converted flattener to Xtend 2015-08-20 15:39:13 +02:00
Sebastian Zarnekow
8dca8a0596 [263773] More work on the grammar flattener 2015-08-20 14:29:59 +02:00
Sebastian Zarnekow
c9692da216 Merge branch 'master' into sz/xtext_grammar_enhancements 2015-08-20 14:13:25 +02:00
Sebastian Zarnekow
9eed650103 Removed ParseTreeConstructorFragment from test langs
Only kept it for the cases where the PTC was tested
explicitly
2015-08-20 10:54:10 +02:00
Sebastian Zarnekow
70ab3b2602 [263773] Further improvements to grammar flattener 2015-08-20 08:55:31 +02:00
Sebastian Zarnekow
8e1ed7da86 [263773] Continued with flattened grammar approach 2015-08-19 16:36:46 +02:00
Sebastian Zarnekow
07e55a6800 [263773] First steps towards flattened grammar 2015-08-18 16:52:08 +02:00
Sebastian Zarnekow
fb519c29fe Merge branch 'sz/bug394436' into sz/xtext_grammar_enhancements 2015-08-17 16:15:32 +02:00
Sebastian Zarnekow
d52b2b2731 [394436] Fixed URIs and added unit test 2015-08-17 16:09:03 +02:00
Sebastian Zarnekow
7fd786feed [263773] Test cases for context provider 2015-08-17 13:56:20 +02:00
Sebastian Zarnekow
602e351922 [263773] Fixed bug related to fragments in OverriddenValueInspector 2015-08-14 16:05:52 +02:00
Sebastian Zarnekow
98ee036c02 [263773] Validate rule names and discourage ‘super’ as a name for rules 2015-08-13 14:21:51 +02:00
Sebastian Zarnekow
800c35080a [263773] Adjust named arguments in case of overrides 2015-08-13 13:22:54 +02:00
Sebastian Zarnekow
6627e289a7 [263773] Incorporated review comments 2015-08-13 11:28:40 +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
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
30859bf881 Merge pull request #456 from eclipse/me/bug473612
Me/bug473612
2015-08-06 14:44:05 +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
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
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
Sebastian Zarnekow
3cb3ad4cfb Merge remote-tracking branch 'origin/master' into sz/bug473079 2015-07-30 18:05:43 +02:00
Stefan Oehme
d0f0c9abd5 make the incremental builder cancellable 2015-07-30 14:19:52 +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
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
937ac4b1e7 Merge remote-tracking branch 'origin/maintenance' into sz/merge_from_maintenance 2015-07-20 11:35:40 +02:00
Sebastian Zarnekow
3af374dd67 [462047] Fixed visibility problem
Memo to self: cannot access protected members from 
same package across bundle boundaries.
2015-07-18 19:03:44 +02:00
Sebastian Zarnekow
285379d377 [462047] Fixed unsynchronized modification in SyncXtextResourceSet
Resource.setURI could access and modifiy the 
resource set in an unsynced manner
2015-07-17 17:38:46 +02:00
Sebastian Zarnekow
8406b21491 [471212] Fixed VCE in formatter 2015-07-14 14:59:14 +02:00
Stefan Oehme
0b32cc48cb fix TraceFileNameProvider on windows 2015-07-10 11:02:22 +02:00
Jan Koehnlein
cbae054be0 [testlanguages] delete IDEA src-gen on re-generation
Change-Id: Ibe9d9cd0dd31571e3d4a7369d850257794e5df30
2015-07-09 11:58:28 +02:00
Sebastian Zarnekow
99d3b94a32 Suppress more (intentional) warnings in xtext test grammars 2015-07-07 15:44:31 +02:00
Sebastian Zarnekow
653aa74bc5 Use SuppressWarnings[..] rather than Suppress[..] 2015-07-03 11:22:32 +02:00
Sebastian Zarnekow
dc67c9e3d5 Regenerated test languages 2015-07-03 11:22:31 +02:00
Sebastian Zarnekow
d7ce46fa57 [287082] Fix: Don’t loose information about bogus cardinality
Also support /* Suppress[issueCodeSuffix] */ in Xtext 
grammars.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=287082
2015-07-03 11:16:52 +02:00
Dennis Huebner
ce4e7824a2 [misc] Regenerated builder.tests language. Clean build.
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-07-03 10:52:31 +02:00
Sebastian Zarnekow
b95181bc3d Increase version number to 2.8.4 2015-06-29 23:36:11 +02:00
akosyakov
1d08c9e7c4 Merge remote-tracking branch 'origin/master' into
ak/removed_exported_objects_stub_based_index

Conflicts:
	intellij/org.eclipse.xtend.idea/META-INF/plugin.xml
2015-06-29 10:12:04 +02:00
akosyakov
e4c37f91a2 [idea] Clean up, removed exported objects intellij based index
Change-Id: I7f314b7c9616f16c38af3c391b3f4c7d769d5215
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-06-25 16:47:37 +02:00
Stefan Oehme
c2b5d3affa add createFolderUri(File) helper method
makes sure that folder URIs end with a trailing slash, so that they can
be used with isPrefix(), resolve() and deresolve()
2015-06-25 15:56:38 +02:00
Sven Efftinge
8029860e5a Make obtaining and creation of ChunkedResourceDescription with ResourceSet simpler and less prone to errors. 2015-06-25 11:57:12 +02:00
Sven Efftinge
7c4685aca6 moved incremental builder to org.eclipse.xtext.build
moved chunked resource descriptions to org.eclipse.xtext.resource
made container manager impls aware of projectdescription
2015-06-25 09:30:59 +02:00
Sebastian Zarnekow
aafad628c2 Regenerated testlanguages 2015-06-19 11:18:22 +02:00
Sebastian Zarnekow
b93fb89dcd [467565] Improved performance for case insensitive languages
- Use QualifiedName.equalsIgnoreCase if appropriate
- Deserialize lowercase QN as lowercase instances from index

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467565
2015-06-01 16:35:21 +02:00
Moritz Eysholdt
fde04fa884 [formatter] fixed broken test
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-05-01 11:17:41 +02:00
Moritz Eysholdt
2ef30dd4a7 [formatter] made TextRegionAccessToString's output more readable
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-04-30 17:43:26 +02:00
Moritz Eysholdt
1910d44964 Merge pull request #188 from eclipse/me/formatter4
[formatter] made mechanism for finding text regions more powerful
2015-04-24 14:02:05 +02:00