Commit graph

3666 commits

Author SHA1 Message Date
Sebastian Zarnekow
6aa2e61f8f [xbase][guice] Added workspace root to DefaultXbaseUIModule
Also some NPE safety in ResourceStorageWritable

Change-Id: I725c7bde72ff77a18b2deb1bfd215997ef2ec7a6
2015-02-05 13:24:24 +01:00
Moritz Eysholdt
ef1dd4949b [serializer] improve debug output and comments MyLangSyntacticSequencer
Change-Id: I6bfcdc0e6b6beef0c4427828c4f6280e6d3fe0a6
2015-02-04 14:28:58 +01:00
Moritz Eysholdt
54c6e2f1bf [util] render start/stop states in graphviz as boxes, not as dots
..because dots can't contain text.

Change-Id: Ie38e59b17dd5c88fb00c0ae45f6e969335b51116
2015-02-03 20:04:40 +01:00
Sven Efftinge
53a95fc5aa [Xtend] Moved lazy JvmMember initialization to BatchLinkableResource. Added initialization check to AbstractBatchTypeResolver. (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=457681)
Change-Id: Ic173dee81c607bdb3fca2786ccc6925085195ba1
2015-02-03 13:55:13 +01:00
Miro Spönemann
b5b3936398 Merge "Added file header and class annotations options to Xtext generator (bug 296097)" 2015-02-03 07:04:05 -05:00
Miro Spönemann
1b8e03df34 Added file header and class annotations options to Xtext generator (bug 296097)
Change-Id: I403627ac5dfd1575078ce113da987739244a728e
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-02-03 11:49:38 +01:00
Sebastian Zarnekow
b09b08c95c [xbase][compiler] Support Java8 bytecode in SDEInstaller
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458935

Change-Id: I9e397ea2865e7fd91325b43358bf63e10f3a5627
2015-02-03 11:13:18 +01:00
Sven Efftinge
9cd67e9bef [late JvmType inflation] added synchronized executed check, added @noreference to new public method 2015-02-02 17:25:41 +01:00
Sven Efftinge
f5eca686e3 [xtend / jvmtypes] made JvmDeclaredTypeImplCustom lazy initializable. Used by Xtend for now (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=457681)
Change-Id: I22e834000214b99f448081ecb0274c0b46c2811d
2015-02-02 10:26:58 -05:00
Moritz Eysholdt
9f674e43c3 [formatter] fixed a spelling mistake in a class name
Change-Id: I959d92ba25319d72c0d1cd7bde44526c3e21c309
2015-01-29 10:50:03 +01:00
Dennis Huebner
1a18741b00 Merge "[content assist] Fixed bug in context computation (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458269)" 2015-01-23 12:54:10 -05:00
Dennis Huebner
cd4871db2c [oomph] Fixed some setup issues with older TPs. Changed compiler
settings to 1.6.
2015-01-23 16:38:25 +01:00
Sven Efftinge
1973c279dd [content assist] Fixed bug in context computation (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458269) 2015-01-23 16:25:04 +01:00
akosyakov
d2b85517ac [458223] org.eclipse.xtext.generator.IFileSystemAccessExtension2.getURI
should not refresh resources

Change-Id: I8f2fbeea7629306b30d5074c15833818234e46a3
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-01-23 15:01:51 +01:00
Sebastian Zarnekow
1e90ab8f49 [xtext][partialParsing] Fixed corner case with production rules that return null
Change-Id: I80527ba9776560e6356a865465f654fe269c6fbd
2015-01-23 11:08:29 +01:00
Dennis Huebner
70873885e0 Merge "[storage] store DocumentationAdapter, optionally persist node model (off by default). Fixes broken hover (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456857)" 2015-01-22 09:14:12 -05:00
Dennis Huebner
39bf346128 [javadoc] Fixed javadoc script. Fixed javadoc warnings.
Change-Id: I892b789c1bd4f4d7ff31b540f646d43c9018ea7c
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-01-22 13:57:05 +01:00
Moritz Eysholdt
259a365db7 regenerated languages
Change-Id: Ibd7322ac1f4c0256067265c0edff7ee68a48fb29
2015-01-22 12:16:53 +01:00
Sven Efftinge
cacbdef428 [storage] store DocumentationAdapter, optionally persist node model (off by default). Fixes broken hover (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456857)
Change-Id: I00bb55056640b45929bd709b980a2329c2ea2c17
2015-01-22 11:30:53 +01:00
Sebastian Zarnekow
2c5c80b4ce [xtext][ui] Fixed more races in DirtyStateManager
Change-Id: I65672d44915e1e2eacbbc9e5f1c89a6a90d33ab0
2015-01-16 11:08:08 +01:00
Dennis Huebner
3ad88cb726 [jdt-builder] Filter out *.xtexndbin files from bin
Change-Id: Ia0544fd74c1a6b36d7c06a49df03eb5e87cf431e
2015-01-14 11:39:24 +01:00
Dennis Huebner
95c0098da1 [457312] Remove version constraints to own project bundles. Let
buckminster generate.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=457312

Change-Id: Iafc2483e12334922baae81f5ce4e8e4b26eab85a
2015-01-13 13:24:58 +01:00
Sebastian Zarnekow
af8f1fbdac [xbase][validation] Validate unique class names
Validation happens at runtime only against the Xtext resources
since we only have a flattened view on the Java classpath. Generated
resources may be used to shadow existing Java types according to
the Java semantics.
In Eclipse, uniqueness of names is validated on a per-project basis
against the sources in the project. Libraries may be shadowed.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=384008

Change-Id: Ib16eebe8fadf81d1d78311202b363c15933ba4c9
2015-01-12 14:56:38 +01:00
Sebastian Zarnekow
5a1f023034 [xtext][junit4] Convenience for tests that work with resources
ParseHelper and ValidationTestHelper focussed on EObjects as context.
Added ResourceHelper to obtain a resource and added new methods to ValidationTestHelper.

Change-Id: I99182ae28ecea053921a3984a93bbedefc5c52bc
2015-01-12 13:36:49 +01:00
Dennis Huebner
58939255a1 Merge "[xbase][validation] Fixed registration of JvmTypeReferencesValidator" 2015-01-09 15:14:57 -05:00
Sebastian Zarnekow
2a76494168 [xbase][validation] Fixed registration of JvmTypeReferencesValidator
follow up for https://bugs.eclipse.org/bugs/show_bug.cgi?id=453286

Change-Id: Ie98542177dc4a73bd9a035cccca1a3a35f7e7125
2015-01-09 17:31:32 +01:00
akosyakov
ca5808f354 Discard derived state on an operation canceled exception during
installing derived state.

Change-Id: Ida2102340f5643d3cb0528fccfc11848674f55a7
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-01-09 16:46:33 +01:00
Sebastian Zarnekow
b7a00b96b7 [xtext][smoke] Fixed smoke tests
Change-Id: I447e5fd10d2815d4788598c9c0cd7f22a047e296
2015-01-09 09:09:27 +01:00
Sebastian Zarnekow
f5b0d4ba03 [xtend] Fixed partial parsing (another attempt)
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=457003

Change-Id: I056be2fa67821bbc0ad7e1a3cb0acce0da77c6d7
2015-01-08 15:14:21 +01:00
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
Dennis Huebner
2e27578b3d [misc] Fixed warnings (override/imports)
Change-Id: I171faa5c9efaa74439a651ca0567bcd003656900
2015-01-07 13:34:43 +01:00
Dennis Huebner
d9ffe68826 [api] Api warnings clean up
Change-Id: I9a29374bb33b980be728ab40c9c499e6dd8be251
2015-01-07 13:01:08 +01:00
Dennis Huebner
ee24f02634 [clean-up] Suppress optional java warnigs in emf-gen.
Added missing source entry in ide.common. 

Change-Id: Ie71e583ce73f4cbe3fbd6a9d91fdc92bb3c44144
2015-01-07 04:39:25 -05: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
Dennis Huebner
c085070155 Merge "[xtext][validation] Fixed performance problem in OverriddenValueInspector" 2015-01-06 10:13:13 -05:00
Sebastian Zarnekow
e66c8ea2ff [xtext][validation] Fixed performance problem in OverriddenValueInspector
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456789

Change-Id: I23e94429577cc6918952386d42aceacbeab3f72c
2015-01-06 14:00:38 +01:00
akosyakov
0325dff423 [IDEA][xtend] Provided support for brace pairs matching
Change-Id: Icef7d4a31e95ea8094f96fe2c62027a628a21744
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-01-06 13:20:19 +01:00
Dennis Huebner
8562203200 Merge "[xtext][index] Generalize specialization of the ResourceDescriptionsProvider" 2015-01-05 06:54:48 -05:00
Sebastian Zarnekow
afde505d19 [xtext][index] Generalize specialization of the ResourceDescriptionsProvider
Access to resources from the current project is disallowed during
the indexing phase.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=450046

Change-Id: Iff8875d5a74e30aa8d8e31cea599d128a01f1c30
2015-01-05 11:24:25 +01:00
Sven Efftinge
ce2a533887 [resource storage] added storage of portable ReferenceDescriptions 2015-01-05 10:28:51 +01:00
Sven Efftinge
80551f4162 [storage] Make standalone compiler and xtend batch compiler optionally write storage resource data.
Change-Id: I628cb357cc7c65fe70706aa83eb9a489a708605c
2015-01-02 15:35:59 +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
fdfe435236 [xbase][validation] Fixed location of error marker for invalid assignments
see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=398302

Change-Id: I5cca18ed95f52ad71e649da2eddb9a530aad7a66
2014-12-29 16:39:14 +01:00
Sebastian Zarnekow
d797a9e26c [xtext][encoding] Make backwards binding of encoding provider backwards compatible
Also mark the stateful instance as a singleton.

Change-Id: Ic4e20432a228b5c94b58c81f1888feed65932ab0
2014-12-18 09:47:31 +01:00
Dennis Huebner
24ff1ee0fb Merge "[xbase][editor] Copy/Paste not only the text but also imports" 2014-12-17 12:18:59 -05:00
Dennis Huebner
2b59b6ffb5 [xbase][editor] Copy/Paste not only the text but also imports
Change-Id: Ia58567be40edbedbce88c4d749f62bdd7a5004f0
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-12-17 17:32:56 +01:00