Sebastian Zarnekow
48a59c2d44
[xtext][parser] Work on infrastructure for indentation aware languages
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=451838
Change-Id: I2aa288db306d5c6ac2b8c06b1970447e8a370318
2015-01-08 09:57:31 +01:00
Sven Efftinge
280c3135e3
Merge "regenerated test languages, updated some BREEs to Java 6"
2015-01-07 04:27:48 -05:00
Sven Efftinge
008b7c241b
regenerated test languages, updated some BREEs to Java 6
...
Change-Id: If866388166840ae4153873ce00fac589b35bf1fb
2015-01-07 09:20:11 +01:00
Sebastian Zarnekow
c6ff450923
[xtext][validation] Forgot tests for prev commit
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456789
Change-Id: I825c3935dd0ddaf14c39b86e945936cc5cf831bb
2015-01-06 18:26:34 +01:00
Sven Efftinge
ce2a533887
[resource storage] added storage of portable ReferenceDescriptions
2015-01-05 10:28:51 +01:00
Sven Efftinge
aba9b31c60
Improved PortableURIs
2014-12-30 15:12:42 +01:00
Sven Efftinge
0d6e48fbed
fixed failing tests
...
Change-Id: I4d82f0b97919dc2a7170efabe7c2ad6ba82438a8
2014-12-30 11:29:31 +01:00
Sven Efftinge
86ece9e580
[resource storage] Introduce support for storing computed resources, so the computed state can be loaded quickly when needed. (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=453047 )
...
Change-Id: I575c46c7e3fe89cb178adb26b02df74c25308df1
2014-12-29 15:00:45 -05:00
Sebastian Zarnekow
97bd0d8747
[antlr] Add default antlr params to the beginning of the list
...
Other fragments may make assumptions about the params that they add
dynamically, e.g. that they are at the end of the list
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=453732
Change-Id: I3eaec23a8412bccccc97a3307bd1aaaa797cd954
2014-12-17 17:23:53 +01:00
Miro Spönemann
0f09576578
Added @Override annotations to interface implementations due to recent switching of Java compatibility level to 6
...
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2014-12-12 11:18:07 +01:00
Dennis Huebner
850c21c152
[454857] Increase BREE and compiler settings to JavaSE-1.6
...
Change-Id: Ib690b285004951bf39ed53ccf0abb52730e4312b
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-12-11 17:22:53 +01:00
Stefan Oehme
60fa3b51e5
Merge "fixed file that was accidently overwritten by generator"
2014-12-03 07:18:04 -05:00
Sven Efftinge
063aa839e6
Merge "Fixes bug 453524: - created a preference page and a project properties page to manage problem markers in the Xtext grammar editor - added a warning for bidirectional references - moved issue identifier strings from XtextValidator to XtextConfigurableIssueCodes - using addIssue(..) instead of error(..) / warning(..) in order to respect the user preferences - added ConfigurableIssueCodesPreferenceStoreInitializer to DefaultUiModule - fixed a problem in OptionsConfigurationBlock.hasProjectSpecificOptions(IProject)"
2014-12-03 05:36:58 -05:00
Stefan Oehme
69f6254f1e
fixed file that was accidently overwritten by generator
2014-12-03 11:25:07 +01:00
Miro Spönemann
ad152a1fcf
Fixes bug 453524:
...
- created a preference page and a project properties page to manage problem markers in the Xtext grammar editor
- added a warning for bidirectional references
- moved issue identifier strings from XtextValidator to XtextConfigurableIssueCodes
- using addIssue(..) instead of error(..) / warning(..) in order to respect the user preferences
- added ConfigurableIssueCodesPreferenceStoreInitializer to DefaultUiModule
- fixed a problem in OptionsConfigurationBlock.hasProjectSpecificOptions(IProject)
Change-Id: I78c4681dfd2c0e9ad937662ed71d8c968463614b
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2014-12-03 11:22:09 +01:00
Stefan Oehme
aa381e8ba8
regenerated remaining test languages
2014-12-01 12:49:52 +01:00
Sebastian Zarnekow
cf1200ae7c
[xtext][formatter] Incorporated review result
...
- Moved nested types to top level types
- Moved API exception from *internal to API package
- Moved ToString helpers to *debug package
- Renamed ExceptionAcceptor#NULL to #IGNORING
- Minor JavaDoc addition
Change-Id: If204bbbb4bab8e775c6ecb642afce60cf3c8699c
2014-11-28 11:00:36 +01:00
Moritz Eysholdt
78fc76332c
[formatter2] fixed tests and regenerated test languages
2014-11-25 09:44:29 +01:00
Moritz Eysholdt
07e7d2bb87
[formatter2] made main dispatch method public to allow re-entrant invocation
2014-11-24 14:35:16 +01:00
Moritz Eysholdt
b754d3f0c9
Revised and improved Xbase's formatter and moved it to Xtext.
...
TODO:
- disallow overriding non-whitespace
- hook up serializer
- update JavaDoc
- move comment tests from Xtend to Xtext
Change-Id: I7d31999f43888ce2492502be6871e88c0532ecb9
2014-11-24 04:07:05 -05:00
Jan Koehnlein
742b2c1321
[resource] fixed regression introduced by
...
af3a63291ae372ef6623346bf21a52ddcbdd65c7
"avoid derived state calculation when unloading a resource"
https://bugs.eclipse.org/bugs/show_bug.cgi?id=451668
2014-11-21 16:56:51 +01:00
Jan Koehnlein
a3e78d92a6
[resource] avoid derived state calculation when unloading a resource
...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=451668
Change-Id: Iaeb72a17f57884b8c63e1fb5a6e81e9a04ec34e7
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-11-21 10:22:07 +01:00
Dennis Huebner
542d792282
[simrel] Fixed provider/vendor names. Configure Xtext branding plugin.
2014-11-03 14:55:25 +01:00
Dennis Huebner
bd628618aa
[j2x] Improved switch handling. Added more tests.
...
Change-Id: Idee9a1148bc4b29490dd32be61f9c90a10fcfa2f
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-10-15 09:46:29 +02:00
Dennis Huebner
a1596b6f68
[guice] Avoid using internal com.google.inject API - Bug #446106
...
Change-Id: I4bd8f036d3537df04bfaf923c5454c0f7d11de91
2014-10-07 14:44:04 +02:00
Sven Efftinge
71b3c42c91
fixed failing tests
2014-09-22 22:17:29 +02:00
Sebastian Zarnekow
16e7ae01de
[xtext][scoping] Added more test cases for default scoping semantics
...
Fixed expectations. Stash pop helps …
Change-Id: I5ef15e97cce8dabb7ed8575f1ef7a5c08e1d3bb0
2014-09-18 16:29:23 +02:00
Sebastian Zarnekow
ed521abf22
[xtext][scoping] Added more test cases for default scoping semantics
...
Change-Id: I76adbef43568160c06553fca426728b073857b75
2014-09-18 14:58:32 +02:00
Sven Efftinge
6e7d3dcb10
[core] removed the special hack about linking to ecore models in src folders, since it should no longer be needed and causes trouble in other situations (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=443946 )
...
Change-Id: I14c41f0a9ee941e06fbe6181a669f9faa7eec35d
2014-09-12 16:43:19 +02:00
Moritz Eysholdt
9881af7b74
fixed 443705 [linking] LazyLinkingResource#handleCyclicResolution breaks cycle detection
...
Change-Id: I1627a14ed0db8197d7ca14e24c0d6b121c53cd6a
2014-09-11 15:34:07 +02:00
Dennis Huebner
11a6839888
[releneg] Increasing version to 2.8.0
...
Change-Id: I108d28a82813ac3f84e20c03a4f311a729d1fbc4
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-09-09 16:18:29 +02:00
Dennis Huebner
f67c48be38
[mvn] Increasing version to 2.8.0-SNAPSHOT
2014-09-09 16:01:03 +02:00
Dennis Huebner
9b229cc552
[releng] Increase version to 2.7.1
...
Change-Id: I68a4c9245ebeef6414f5bc8d48c256d06e482865
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-09-05 10:19:27 -04:00
Dennis Huebner
4fe6ecc663
[mvn] increase version to 2.7.1-SNAPSHOT
2014-09-05 11:44:08 +02:00
Sebastian Zarnekow
07d12884c9
[xtext][parser] Fixed issue with underscore keywords
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=443221
Change-Id: Ib22c72bedf8a20194a3340a92c2dfdfb3d22bfa2
2014-09-04 13:32:23 +02:00
Dennis Huebner
23ed5392df
[releng] We require at least EMF 2.10 - Part 2
...
Also added some eclipse runtime constraints
Change-Id: Ic42f9dfda922626dcfd3cecf57f4a40971701f6e
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-08-27 11:25:27 +02:00
Dennis Huebner
06923c313f
[releng] We requiere at least EMF 2.10 see Bug 442577
...
Change-Id: I6969a8d63c69698a7758e1a766391262d595066e
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-08-27 10:29:43 +02:00
Sebastian Zarnekow
0baa55e549
[xtext][junit4] Attempt to deal with flaky tests
...
Some of our tests seem to depend on index data to
be present or some other unpredictable things. The
JUnit TestRule Flaky.Rule tries to deal with those
symptomatically. By annotating a test method as
@Flaky, one can indicate that the test should be
executed again if it failed. The number of trials
can be configured and defaults to 3.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=442349
Change-Id: Ic405b64b3c5c46350fd8a954d6791bf65978a732
2014-08-25 09:08:44 -04:00
Sven Efftinge
4bb6582bc7
[EcoreInference] Fixed inference bug with assigned actions in multi groups (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=390326 )
...
For assigned actions that live in a multi-cardinality group we need to also add the Actions type as the feature.
Change-Id: I7b7d756bd6db15b0af1ca137c3135ce2aad1193b
2014-08-13 14:37:12 +02:00
Sven Efftinge
02685e7a1d
Regenerated test languages and fixed workflow
...
Also added a .launch to specify the needed encoding and JVM
Change-Id: Ib8e618542ef2f89cc045b6e78ca14369646d9911
2014-08-13 13:35:57 +02:00
Sven Efftinge
36b636af9c
[xbase test] Made CompilationTestHelper work on real file system (temp folder). Added test for active annotation that reads and writes through the FileSystemSupport.
...
Change-Id: I62ebdf449ce193b036545d1ee87c86d3ae65582b
2014-08-05 13:13:14 +02:00
Dennis Huebner
aa006f1d58
[osgi] setting eclipse lower bound to Helios(3.6)
...
Change-Id: I46e437f0fcce2fc778344e83e9b9d2382ae3959a
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-08-01 10:55:58 -04:00
Sebastian Zarnekow
9692c1afcf
Removed hundreds of warnings from code base
...
Resolution strategies included:
- x-friends directive
- API filter
- @SuppressWarnings
- Minor code rewrite (e.g. introduce local variable)
- Organize imports
- Adjusted project specific compiler settings
Change-Id: Ife7936493b115a1d6f8f80da7b97704f007059db
2014-07-30 16:41:03 +02:00
Sven Efftinge
848c9ac996
Handle cyclic resolutions more gracefully (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=440067 )
2014-07-28 11:03:09 +02:00
Sebastian Zarnekow
d339b01132
[xtext][generator] Even more work on explicit line delimiters
...
Change-Id: I4a1500ca56688624da947c67285fe9f7dadca24f
2014-07-17 19:04:24 +02:00
Sebastian Zarnekow
e53c5b3075
[xtext][generator] Handle line delimiters explicitly
...
The grammar generator and a few fragments accept an explicit
line delimiter, now. A variable in the workflow along with
some auto-injects allow to control the line delimiter that
is used for the generated files.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=392982
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=311478
Change-Id: I754dec05c1d82d4225295e881eb8942b68dcac2e
2014-07-16 07:18:55 -04:00
Sebastian Zarnekow
3bffecc3f6
[terminals] STRING rule is too strict
...
The fix produces error markers even on subranges of the
string literal, e.g. in 'Invalid \escape', only the
\e will be underlined. For that purpose, the
ValueConverterWithValueException was enhanced to accept
a node-relative offset and length. It is converted
to an XtextSyntaxDiagnosticWithRange on the XtextResource
level.
Also regenerated all test languages, Xtext, Xtend, Xbase,
and examples.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=439562
Change-Id: Idc3307c9ff83fdea2d76afac5fb03969185e7238
2014-07-15 09:36:14 +02:00
akosyakov
3131f538f6
[bug 437669]: provided support of lazy linking without node model
...
Change-Id: Ib92604518dc1905ec0806f8739629e1040f213c3
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2014-06-30 16:41:33 +02:00
Dennis Huebner
ca1f3a4ab5
[releng] switched to use luna for generator tests, added macro to rmap
...
Change-Id: I53ede81143e1e69083a45332ce5fc6cdbdbcbe0a
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-06-26 17:20:26 +02:00
Dennis Huebner
69a30c6e05
[misc] regenerated with latest xtext/xtend
...
Change-Id: I30efe3d48399a13c91a1df9d250dba1845e0501e
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-06-23 15:28:33 +02:00