Commit graph

331 commits

Author SHA1 Message Date
Christian Dietrich
4f4f161bc7 fixed broken manifests
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-05-14 15:33:51 +02:00
Christian Dietrich
86fb88215c fixed deprecations with java 11
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-05-07 12:18:47 +02:00
Christian Dietrich
bc3f2870e7 [eclipse/xtext#1437] Regenerated with 2.18.0.M2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-05-06 14:59:20 +02:00
Arne Deutsch
23e73a25d4 [eclipse/xtext#1440] Update to ASM 7.1.0.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-05-02 13:09:19 +02:00
Titouan Vervack
bac941cb75 Uppercase first word in AntlrToolFacade download logging
Just to make it consistent with the other fragments

Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2019-04-19 12:11:12 +02:00
Sebastian Zarnekow
9f1b16b6a4 Fixed regression in injector provider 2019-04-04 21:50:57 +02:00
Sebastian Zarnekow
27548a0b96 [xtext-xtend#734] Updated generator for injector providers 2019-04-04 14:24:23 +02:00
Holger Schill
5b59665a25 Remove implicit IDEAPluginGenerator
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2019-04-02 20:44:56 +02:00
Holger Schill
6113cb4fbd Remove implicit IDEA support since it got dropped
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2019-04-02 20:44:56 +02:00
Holger Schill
fe96a20cf9 Remove IDEA since the support has been dropped.
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2019-04-02 08:48:56 +02:00
Jan Koehnlein
0ef82b8219 [ls] further rename fix and test
- restored the old APIs and deprecated them
- built a new API next to the old one
  - use ILanguageServerAccess to read files
  - extended ILSA to provide new resource sets and the initialization params
- extended the Xtext generator to use the new API
- made sure customizations of the old API don't get lost
- revised the find element at position strategy
- revised error handling
- added a test language and tests
2019-03-20 15:51:19 +01:00
Christian Dietrich
48ac48df2b [544435] fixed issue with serializer and groups in non terminal rules
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-06 09:30:06 +01:00
Christian Dietrich
f8708cefd5 [eclipse/xtext#1414] prepared master for version 2.18.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-05 16:47:14 +01:00
Sebastian Zarnekow
4f2f3f7022
Merge pull request #1008 from jschuhmacher/inheriting-resourcedescriptionstrategy
Make ResourceDescriptionStrategyFragment aware of super grammars
2019-02-21 13:19:25 +01:00
Sebastian Zarnekow
09c3ceac85 Make bin/main also the default output directory to avoid buildship confusion 2019-02-10 14:55:03 +01:00
Karsten Thoms
98a17c35da [eclipse/xtext#1274] Updated .classpath by Gradle
Changes done by Buildship 3.0.1.v20181217-1554

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-07 17:03:45 +01:00
Sebastian Zarnekow
cb8a9aa96b Incorporated review feedback 2019-02-05 14:33:49 +01:00
Sebastian Zarnekow
6e243524dc Also extract the dfa string array into an own static inner class 2019-02-05 14:14:32 +01:00
Christian Dietrich
175d7bc975 set minimal mwe version to the one from oxygen
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-01 10:39:20 +01:00
Jelle Schuhmacher
86dfd39e94 ... and don't forget to return the result
Signed-off-by: Jelle Schuhmacher <jelle.schuhmacher@altran.com>
2019-02-01 08:06:59 +01:00
Jelle Schuhmacher
b40ce61068 ... also invoke super ResourceDescriptionStrategy
Oops

Signed-off-by: Jelle Schuhmacher <jelle.schuhmacher@altran.com>
2019-01-30 12:17:43 +01:00
Jelle Schuhmacher
2ef95c9623 Make ResourceDescriptionStrategyFragment aware of super grammars
such that the @Exported annotations of any supergrammars are used as
well, making it behave like the ValidatorFragment2.

Signed-off-by: Jelle Schuhmacher <jelle.schuhmacher@altran.com>
2019-01-30 11:50:01 +01:00
Holger Schill
771eb06607 Update WebFragment, Wizard and tests to use latest versions of web frameworks 2019-01-17 11:03:38 +01:00
Sebastian Zarnekow
ecc7ae0bc3
[eclipse/xtext#1249] use bom for version management (#988) 2019-01-11 16:41:50 +01:00
Christian Dietrich
1b4f6c78a4 change version 2.16.0 -> 2.17.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-12-05 09:48:47 +01:00
Christian Dietrich
8db53e0260 [#967] [Generator] Add option to set GenModel.rootExtendsClass from EMFGeneratorFragment2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-21 10:58:41 +01:00
Karsten Thoms
37172c68dd [eclipse/xtext#1168] Minimal target platform Oxygen.3a
Update lower bound version constraints on platform related bundles with
versions from an Oxygen.3a platform.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-14 17:27:50 +01:00
Christian Dietrich
e4f8ff8047 [#946] Fixed broken class splitting with enum rules
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-07 16:32:29 +01:00
Christian Dietrich
9515372b39 [eclipse/xtext#1325] switch to ASM 7
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-10-31 12:51:25 +01:00
Arne Deutsch
5e5dc014eb #864: Rewrite MergeableManifest to MergeableManifest2 to avoid refl.
Adding extensive unit tests to ensure behavior does not change.
Use only MergeableManifest2 internally.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-10-17 16:48:32 +02:00
Karsten Thoms
2b7e2b4609 [eclipse/xtext#1272] Compile with Xtend 2.15
Order of static & final modifiers changed
(eclipse/xtext-xtend#554)

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-21 17:45:41 +02:00
Christian Dietrich
2f0f093fb5 updated versions to 2.16.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-09-03 11:11:51 +02:00
Arne Deutsch
86ff0e1266 [#851] Add xtext builder to example project template.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-30 14:21:49 +02:00
Christian Dietrich
1639c0a2b0
Merge pull request #839 from eclipse/cd_issue1266_asm62
[eclipse/xtext#1266] Update to ASM 6.2
2018-08-29 14:38:30 +02:00
Christian Dietrich
a2250de55e [eclipse/xtext#1266] Update to ASM 6.2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-29 14:37:03 +02:00
Holger Schill
bd0f23efcc ValidatorFragment2 generates an overridden version of addComboBox for Xbase languages #771
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2018-08-28 12:24:47 +02:00
Holger Schill
f379c56a25 ConfigurableIssueCodesProvider generated even when no grammar annotations are used #825 2018-08-22 16:39:23 +02:00
Karsten Thoms
e953fc8db4 [#816] Harmonize plugin.xml contribution
Prefer tabs instead of spaces.
Prefix class names with Executable Extension Factory class name.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-08-16 17:26:28 +02:00
Christian Dietrich
13b5966d3f [eclipse/xtext#1263] Pinned EMF Version to 2.12
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-14 11:17:35 +02:00
Christian Dietrich
abf92b6776 [#804] Added EOF to keyword escape list
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-26 17:49:57 +02:00
Christian Dietrich
a897ee5e54 regenerated against latest xtend
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-18 19:30:53 +02:00
Karsten Thoms
dddcf63d61 [eclipse/xtext#1238] Restrict version of org.antlr.runtime
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-07-12 23:39:11 +02:00
Sebastian Zarnekow
d25e6c7e30
Merge pull request #777 from eclipse/sz_issue474
[xtend#474] Allow to skip generation of validator ui contributions
2018-07-04 19:59:19 +02:00
Christian Dietrich
0277b89235 [eclipse/xtext#1231] fixed jdt and platform versions
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-03 19:24:04 +02:00
Sebastian Zarnekow
e228edfd44 [xtend#474] Allow to skip generation of validator ui contributions 2018-06-27 19:19:29 +02:00
Titouan Vervack
63c4439ad4 Reduced "potential null pointer access" errors
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-06-05 18:11:37 +02:00
Karsten Thoms
7dcc65bb2e [release] Increment version to 2.15.0
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-22 23:53:44 +02:00
Karsten Thoms
0049750108
Merge pull request #735 from eclipse/junit5_dependencies
[#666] JUnit 5 dependencies
2018-05-16 23:19:00 +02:00
Karsten Thoms
0bef495014 [#666] JUnit 5 dependencies
- Use Tycho 1.2 for JUnit 5
- Removed adding of org.junit as imported package - test projects are
already created with a bundle dependency

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-16 21:44:37 +02:00
Christian Dietrich
f54be52d97 fixed some warnings
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-05-12 10:58:14 +02:00
Christian Dietrich
f2a738ae3e [#664] fixed generation of val prefs/issue codes when deprecation disabled
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-05-04 10:16:46 +02:00
Christian Dietrich
d2134214a6 [#724] fixed compile errors with non xbase languages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-05-03 06:49:22 +02:00
Holger Schill
dbca734a58 Fix for https://github.com/eclipse/xtext-core/issues/722 2018-05-02 13:40:54 +02:00
Christian Dietrich
de25d13970 [eclipse/xtext#1190] Narrowed the version range for asm to [6.1.1,6.2.0)
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-23 13:01:11 +02:00
Christian Dietrich
85f3a05f3d
Merge pull request #703 from eclipse/java-10-integration
Java 10 integration
2018-04-20 11:33:24 +02:00
Karsten Thoms
875e62c901 [#666] JUnit 5 Support
- implemented review comments
- adding JUnitVersion.DEFAULT
- added missing copyright headers for JUnitFragment and Junit4Fragment2
- changed lower bound for org.junit.jupiter.api.extension to 5.1.0

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-04-17 12:49:57 +02:00
Arne Deutsch
693c7e420c [eclipse/xtext#1177] Update ASM to 6.1.1 and JDT Core to 3.13.102.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-17 07:37:44 +02:00
Karsten Thoms
3999e54b89 [#666] Extend Xtext Generator for JUnit 5
- Added enum JUnitVersion
- Create JUnitFragment from Junit4Fragment2
  - provide setter for JUnit version
  - Deprecated Junit4Fragment2 and extend from JUnitFragment
  - changed StandardLanguage#junitSupport type to JUnitFragment
- Extended JUnitFragment to produce JUnit version specific code
- Added junitVersion property to WizardConfiguration
- generate JUnit 5 specific configuration to workflow when JUnit 5 is
configured
- TestProjectDescriptor: Configure JUnit 5 dependencies

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-04-16 13:27:43 +02:00
Arne Deutsch
c98df4f7bc [eclipse/xtext-eclipse#599] Fix review findings.
Change field names to 'projectWizard' and 'fileWizard'.

Document MWE entities.

Deprecate SimpleProjectWizardFragment2.

Add @Beta annotations.

Update copyright comments.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-11 10:17:36 +02:00
Arne Deutsch
503e1c7843 Merge branch 'master' of git@github.com:eclipse/xtext-core.git into xtext-eclipse-599 2018-04-04 14:20:34 +02:00
Arne Deutsch
b92affb486 [eclipse/xtext-eclipse#599] Adding fragment for new file wizard.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-04 14:16:36 +02:00
Alex Tugarev
fa8e8b2b26 fix error in ValidatorFragment2
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2018-04-04 11:30:45 +02:00
Alex Tugarev
d81b59d636 [validation] fix generation of issue code provider
use grammar info instead of `MyDsl`.

cf. https://github.com/eclipse/xtext-core/pull/680

Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2018-04-03 08:39:14 +02:00
Christian Dietrich
6e23809dee reduced warnings
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-29 14:36:26 +02:00
Holger Schill
e75a44c254
Merge pull request #680 from eclipse/hs/ValidationFragment2_configurableIssue
Hs/validation fragment2 configurable issue
2018-03-29 13:12:15 +02:00
Christian Dietrich
76053c6136
Merge pull request #678 from miklossy/master
[479833] Formatter2Fragment2 stub improvements.
2018-03-28 19:01:43 +02:00
Holger Schill
026df8e630 Make multiple annotations on enum rule possible
Add validations to see if Annotation works on the rule in the grammar
Add configurable issue for @Deprecate Annotation
2018-03-28 18:03:29 +02:00
Titouan Vervack
127fa42d17 Removed redundant modifiers
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-28 17:41:41 +02:00
Tamas Miklossy
ac7215e80c [479833] Formatter2Fragment2 stub improvements.
- Make the generated Formatter.xtend stub more concise by eliminating
unnecessary semicolons, by eliminating explicit type before the for loop
variable and by using the EReference feature name (instead of its getter
accessor name) in the for loop collection.
- Refactor the Formatter2Fragment2 class to make it more testable.
- Modify the AbstractGeneratorFragmentTests to set the resourceSet into
the used StandardLanguage (needed by the Formatter2Fragment2).
- Implement corresponding Formatter2Fragment2 test cases.

Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2018-03-28 13:05:17 +02:00
Christian Dietrich
80d27192d5 Fixed unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-27 07:50:29 +02:00
Holger Schill
3c4601363e Make use of JavaFileAccess to get better results to compare. 2018-03-26 18:25:04 +02:00
Holger Schill
2af21460ea Add javaDoc to new Fragments 2018-03-26 17:44:02 +02:00
Holger Schill
0e93f81c2d Work with GenModel without pollution the environment with globals 2018-03-26 16:31:17 +02:00
Holger Schill
59b8642d93 Use exists instead of Java 8 syntax in Fragments.
Reenable Fragment tests -> Last build ran green without those tests.
Try with approach to not load XMLPackage Class
2018-03-26 15:24:49 +02:00
Holger Schill
cb1b9ef32c Adjust @since tag
Disable GeneratorFragmentTests again since an NPE happens on the CI and we want to find out if this is the cause for the other tests to fail.
2018-03-26 15:12:34 +02:00
Holger Schill
70886d54a5 Make ResourceDesecriptionStrategyFragment and ValidationFragment more configurable 2018-03-26 12:40:19 +02:00
Holger Schill
d377312850 Merge branch 'master' into hs/664_grammarannotations 2018-03-26 11:19:49 +02:00
Holger Schill
047b035d55 Apply changes from review comments from 23.3 2018-03-26 10:46:20 +02:00
Karsten Thoms
e689a0a723 [eclipse/xtext-eclipse#520] Use type references
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-23 12:08:52 +01:00
Karsten Thoms
52becf6462 [eclipse/xtext-eclipse#520] Adjust to latest API
The code mining provider base class has been renamed and only offers one
abstract method to implement by clients.
Also some minor cleanups.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-22 17:54:30 +01:00
Holger Schill
8893b09e57 GrammarAnnotations: @Deprecated Annotation and corresponding tests 2018-03-22 14:40:23 +01:00
Holger Schill
fafdce378e Merge branch 'master' into grammarannotations 2018-03-22 11:17:31 +01:00
Holger Schill
f995ce41ec Refactor names of generated Classes of ResourceDescriptionStrategyFragment 2018-03-22 11:12:43 +01:00
Holger Schill
a25e761971 Grammarannotations - Exported annotation and corresponding Fragment incl. tests 2018-03-22 09:02:27 +01:00
Karsten Thoms
18834db32d [eclipse/xtext-eclipse#520] Revert unwanted changes
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-21 14:46:19 +01:00
Karsten Thoms
aa0561cdb9 [eclipse/xtext#520] Code Mining integration
- Rename class suffix 'Strategy' -> 'Provider'
- Reduce dependencies of generated bundles
- Move provider from generid IDE to Eclipse plugin project
- Binding of reconciler strategies

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-20 16:29:31 +01:00
René Purrio
b69051f260 [eclipse/xtext-eclipse#520] code mining support with own api
Signed-off-by: René Purrio <rpurrio@itemis.de>
2018-03-19 06:50:38 +01:00
Karsten Thoms
7a66642d2d
Merge pull request #593 from ArneDeutsch/feature-1154
[#1154] Add new project wizard with project template support.
2018-03-06 10:38:55 +01:00
Christian Dietrich
58113d0f41 Regenerated against lastest xbase-lib
https://github.com/eclipse/xtext/issues/1174

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-26 15:07:09 +01:00
Christian Dietrich
7ab31042c8 maintained x-friends https://github.com/eclipse/xtext/issues/1173
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-23 15:57:53 +01:00
Arne Deutsch
3059f43ea4 [eclipse/xtext#1154] Remove dead code.
Use groups in example project template.
Beautify generated code for project templates.
Add some comments.

Change-Id: Ic5c5c1bff84bcb5af9f7b2b3102b7c3c92e9ed06
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-02-13 15:58:58 +01:00
Arne Deutsch
3e208399ac [eclipse/xtext#1154] Support multi projects in project template.
Change-Id: Ifc7950849f9c9c8683f22a373f11ee59fadaac2c
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-02-13 15:58:55 +01:00
Arne Deutsch
0264ed7756 [eclipse/xtext-eclipse#1154] Creating multiple projects from template.
Change-Id: Id1a1652146b2b640cf087596e0f96774ee90c9bb
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-02-13 15:58:52 +01:00
Arne Deutsch
cbdf85dde9 [eclipse/xtext#1154] Add new project wizard with project
template support.
Extend API to support binary file creation in fragments.

Change-Id: Id6125668363e3e8e7e0703d3c5e448c8ca2ef5b4
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-02-13 15:58:43 +01:00
Karsten Thoms
809377cd27 [420984] Compiler optimization: Suppress creation of unused exception variable
Recompiled Xtend files

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 14:54:22 +01:00
Karsten Thoms
90cef27ab4 [eclipse/xtext#1160] Update copyright date range
Recompiled Xtend files

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 09:11:22 +01:00
Karsten Thoms
134c788006 [eclipse/xtext#1160] Update copyright date range
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-15 16:28:39 +01:00
Christian Dietrich
2771f6dee0
Merge pull request #581 from eclipse/cd_extras_issue211
[J9] consume jdt version in maven/gradle that does support Java 9
2017-12-21 15:22:47 +01:00
Florian Stolte
9751c004c1 [eclipse/xtext-eclipse#463] Fixed faulty editor binding
- for xbase languages, the language specific editor is now correctly
bound to XtextEditor instead of XbaseEditor

Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-21 11:05:31 +01:00
Christian Dietrich
30bf17d0e6 [J9] consume jdt version in maven/gradle that does support Java 9 https://github.com/eclipse/xtext-extras/issues/211
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-21 09:10:29 +01:00
Florian Stolte
3a740a437e [eclipse/xtext#1155] Cleaned up javadoc to remove some warnings.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-19 12:04:05 +01:00
Sebastian Zarnekow
5940623fac
Merge pull request #591 from eclipse/sz_regenerateAllLanguages
Regenerate all languages
2017-12-18 11:08:29 +01:00
Florian Stolte
1bc930b5b6 [eclipse/xtext#1152] Java 9 - Added Automatic-Module-Name header
- added header to existing manifest files
- added header to manifest generation in xtext generator and wizard

Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-14 14:16:20 +01:00
Sebastian Zarnekow
b6a9f76938 Fixed regression in Xtext generator for type names 2017-12-08 17:17:33 +01:00
Sebastian Zarnekow
a7a45658ef Really use the latest Xtend 2017-12-08 15:39:38 +01:00
Sebastian Zarnekow
13051ddac6
Merge pull request #572 from eclipse/sz_avoidDuplicatedCode
Avoid duplicated code in CA infrastructure
2017-12-08 15:21:50 +01:00
Sebastian Zarnekow
5300cd812f Compiled with latest Xtend 2017-12-08 15:17:13 +01:00
Florian Stolte
ca7a3f67b1 [eclipse/xtext-eclipse#463] Editor stub is now only generated for Xbase
languages.

- removed EditorFragment2, put its functionality into
XbaseGeneratorFragment2
- moved the binding of the editor from ImplicitFragment to
XbaseGeneratorFragment2

Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-08 14:08:26 +01:00
Sebastian Zarnekow
9b11cb58f9 Merge remote-tracking branch 'origin/master' into sz_contentAssistPRC 2017-12-07 10:14:33 +01:00
Sebastian Zarnekow
9ed107859f Updated since tags 2017-12-07 08:29:06 +01:00
Sebastian Zarnekow
f6a1abe53d Fixed warnings 2017-12-06 14:46:33 +01:00
Christian Dietrich
9e66409f38 regenerated xtend code (java 9 java.lang.Module conflict)
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 19:13:09 +01:00
Christian Dietrich
034234d3fe Removed unused import
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 17:17:18 +01:00
Sebastian Zarnekow
6f78cb9084 Merge branch 'master' into sz_contentAssistPRC 2017-12-01 12:13:06 +01:00
Karsten Thoms
faec295260
Merge pull request #561 from FStolte/issue463
[eclipse/xtext-eclipse#463] Fix for issue
2017-11-29 10:09:32 +01:00
Christian Dietrich
b6cbf6dc17 avoid name clash with java 9
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-28 15:01:37 +01:00
Florian Stolte
94eba69a6b [eclipse/xtext-eclipse#463] Fix for issue.
- Created EditorFragment2 to generate language-specific sub-classes of
XtextEditor

- Added new fragment to StandardLanguage

- Configured the language-specific editor in XbaseGeneratorFragment2

- Added methods to XtextGeneratorNaming for XtextEditor, XbaseEditor and
language-specific editors

- Added binding for language-specific editors in ImplicitFragment

Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-28 10:39:51 +01:00
Julian Dax
a7bf8945b2
Add contentTypeBinding to content[Merge]Viewers
Fixes #542

Signed-off-by: Julian Dax <jdax@itemis.com>
2017-11-15 13:00:05 +01:00
Christian Dietrich
827be6cc3a export all packages as interal to ease subclassing #540
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-10 13:58:48 +01:00
Christian Dietrich
016bf16d3b reuse calculated genclasses/genpackages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-08 09:59:59 +01:00
Christian Dietrich
def098c3a7 Fixed Issue with TypeReference and Custom Pre/Suffixes in EMF #530
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-07 19:53:57 +01:00
Christian Dietrich
4960af9c0a set version to 2.14
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-27 09:03:34 +02:00
Karsten Thoms
5b7f5ecf90 [525746] Set Xbase/Xtend lib lower version constraint
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-10-09 21:39:12 +02:00
Karsten Thoms
0e7772e469 [525746] Extended runtime project config
- added getXbaseLibVersionLowerBound
- added getXtendLibVersionLowerBound

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-10-09 12:32:26 +02:00
Jan Koehnlein
ded0ce36de GH-487 reverted TypeReference change and fixed usage in RefactorElementNameFragment2
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-10-02 20:56:11 +02:00
Jan Koehnlein
389013e886 [generator] added option to RefactorElementNameFragment to generate CS-based refactoring code 2017-10-02 15:19:51 +02:00
Jan Koehnlein
307bd2b313 [generator] allow inner classes to be bound by fragments 2017-10-02 15:18:48 +02:00
Karsten Thoms
df893fa468 [#470] Contribute org.eclipse.core.contenttype.contentTypes extension
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-09-25 23:04:10 +02:00
Sebastian Zarnekow
34e439a4fd Improved code generator for ContentAssistParser
We can cache the method names by extracting the nameMapping to an own type
that is marked as singleton. This will make CA slightly snappier especially
for very large grammars.
2017-09-13 18:21:19 +02:00
Sebastian Zarnekow
eef480ac2b Fixed problem with referenced, missing methods in nameMapping 2017-09-13 10:29:55 +02:00
Christian Dietrich
b3728a39a2 made CodetemplatesGeneratorFragment2 disableable
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-07 15:22:30 +02:00
Christian Dietrich
ca4f22fc49 introduced ConditionalXtextGeneratorFragment
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-07 10:21:10 +02:00
Sebastian Zarnekow
1c5b2b0320 Merge pull request #366 from eclipse/sz_bug476690
Refined token placement for indentation based languages
2017-09-05 23:02:36 +02:00
Christian Dietrich
d5d4a0db04 [473623] Generator Support for enablement of XImportSection
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-30 13:48:33 +02:00
Hendrik Eeckhaut
681d8d5a0d Created TaskTagPreferencePageFragment2
Signed-off-by: Hendrik Eeckhaut <hendrik.eeckhaut@sigasi.com>
2017-08-18 16:42:19 +02:00
Christian Dietrich
09b1e98a21 generate initialization of nameMapping with chunked method calls #419
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-14 17:42:11 +02:00
Karsten Thoms
c148fe40a9 Merge pull request #377 from eclipse/kth_bug462906
safe retrieval of bundle in EEF
2017-07-06 12:29:22 +02:00
Karsten Thoms
02197314d9 safe retrieval of bundle
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-04 13:53:15 +02:00
Christian Dietrich
4794820d28 cleanup after refactoring
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-04 08:33:15 +02:00
Christian Dietrich
cab0988d33 QualifiedClazzName->QualifiedClassName
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-04 05:48:43 +02:00
Karsten Thoms
6d11cfd977 Merge branch 'master' of git@github.com:eclipse/xtext-core.git 2017-07-03 16:57:07 +02:00
Karsten Thoms
ff3a0847b9 removed unused import
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-03 16:56:50 +02:00
Karsten Thoms
f46a269fdd gradleprojectbuilder added by Buildship project import
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-01 23:09:36 +02:00
Christian Dietrich
624e4fa53b try to fix problem with bad naming convention epackages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-29 09:17:09 +02:00
Sebastian Zarnekow
550eede373 Adjustments to XtextAntlrGeneratorFragment 2017-06-12 15:24:23 +02:00
Christian Dietrich
c52eced33e better message in parsing test
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-02 17:29:11 +02:00
Sebastian Zarnekow
ede5399151 Extract method to avoid deprecation warning 2017-06-02 12:40:37 +02:00
Miro Spönemann
a75bac8287 Increased version number to 2.13.0-SNAPSHOT 2017-05-24 13:41:16 +02:00
Christian Dietrich
b7801f175a Merge pull request #316 from eclipse/cd_bug481287
[481287] Fixed bug in plugin.xml content comparison of xtext generator
2017-04-26 10:21:26 +02:00
Christian Dietrich
05221db4cc [508810] Referencing EStringToStringMapEntry results in compile Error in generated Abstract*SemanticSequencer
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-04-17 10:40:45 +02:00