Commit graph

5460 commits

Author SHA1 Message Date
Moritz Eysholdt
066e22f507 fixed #12: [formatter] IllegalArgumentException in NodeRegion.toString()
see https://github.com/eclipse/xtext-core/issues/12

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-11 10:53:08 +01:00
Miro Spönemann
6b52efede3 Merge pull request #229 from eclipse/msp_grammarAnalysisNullCheck
Added null / proxy check to GrammarElementTitleSwitch
2017-01-11 09:36:12 +01:00
Moritz Eysholdt
e968946b4f [formatter/performance] Don't create stack traces
This change:
- introduces a flag that by default disables creation of stack traces
- lets the formatter do a second pass on conflict with that flag enabled

This combines the benefits of both worlds:
- performance without the need for tweaking
- debug information without the need to enable some magic config

see 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=508894
https://bugs.eclipse.org/bugs/show_bug.cgi?id=507174
https://github.com/eclipse/xtext-core/pull/195

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-10 17:54:44 +01:00
Moritz Eysholdt
448b025395 see #199: added comment formatter tests
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-10 14:45:39 +01:00
Miro Spönemann
5a6394afbc Added null / proxy check to GrammarElementTitleSwitch 2017-01-10 14:39:07 +01:00
Holger Schill
f1c59f6114 Merge pull request #228 from eclipse/hsIssue224
[Wizard] General: Gradle Tests dont work #224
2017-01-10 07:39:22 +01:00
Holger Schill
7c96131e2a Change Group and version for core.runtime 2017-01-09 16:45:30 +01:00
Holger Schill
a44c88c4e1 Change version and group ID for equinox.registry
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2017-01-09 16:31:27 +01:00
Holger Schill
e51e61cece [Wizard] General: Gradle Tests dont work #224
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2017-01-09 16:25:15 +01:00
Miro Spönemann
e5d0b1a6f4 Merge pull request #225 from eclipse/msp_generatorFixes
[generator] Some fixes
2017-01-09 16:07:52 +01:00
Miro Spönemann
43bf2b58f2 [generator] Some fixes:
- XtextGeneratorLanguage was injecting its members incorrectly.
 - LanguageModule must bind the language to a provider to prevent Guice from injecting its members implicitly (masking the previous bug).
 - EMFGeneratorFragment2.updateBuildProperties() should do nothing when build.properties does not exist.
2017-01-09 15:17:04 +01:00
Miro Spönemann
94014599c4 Merge pull request #220 from eclipse/msp_regenerateTestLanguages
Regenerated test languages in tests bundle
2017-01-09 10:24:55 +01:00
Miro Spönemann
90dea707ad Regenerated test languages in tests bundle, fixed lazy linking test language 2017-01-09 10:12:02 +01:00
Miro Spönemann
0618470051 Merge pull request #218 from eclipse/msp_crossRefSerializer
Fixed CrossReferenceSerializer regression for special proxy URI formats
2017-01-06 16:43:29 +01:00
Miro Spönemann
a0c5eacbe0 Added missing encoding settings 2017-01-06 16:20:58 +01:00
Miro Spönemann
d200dac389 Regenerated test languages 2017-01-06 15:53:40 +01:00
Miro Spönemann
383b65b7ad Fixed CrossReferenceSerializer regression for special proxy URI formats 2017-01-06 15:37:34 +01:00
Miro Spönemann
a41e155abd Added LICENSE 2017-01-06 13:57:23 +01:00
Miro Spönemann
c5d26b41b5 [build] Default behavior is to skip the Xtend compiler; activate it with -PcompileXtend=true 2017-01-06 13:57:23 +01:00
Miro Spönemann
c8fc186e31 Removed project version constraints from test manifest 2017-01-06 13:57:23 +01:00
Miro Spönemann
09a24e0af9 [build] Use released version of p2gen plugin 2017-01-06 13:57:23 +01:00
Karsten Thoms
f8ccfdc689 Merge pull request #217 from eclipse/kth_issue212
[#212] Refactored to avoid JDT 508834
2017-01-06 13:56:40 +01:00
Karsten Thoms
838b32c429 [#212] Refactored to avoid JDT 508834
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-06 13:41:40 +01:00
Miro Spönemann
5867a8e76b Added null check in SerializationDiagnostic 2017-01-05 11:58:49 +01:00
Karsten Thoms
82956ee954 Removed unnecessary cast
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-05 07:53:36 +01:00
Karsten Thoms
9d167ecacb Fixed javadoc links
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-05 07:51:23 +01:00
Karsten Thoms
89fc6af674 Added @SafeVarargs annotation for methods with varargs
Suppress compiler warning

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-05 07:16:44 +01:00
Karsten Thoms
c11fc9bb46 Change by Xtend compiler update
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-04 13:14:13 +01:00
Miro Spönemann
bed2c5fd07 ExecutorServiceProvider: changed injected constructor to injected method, added synchronized block for multithreading support 2017-01-04 09:20:27 +01:00
Miro Spönemann
0e312a85c8 Fixed #215: Wrong version dependency to org.eclipse.emf.mwe2.launch generated by wizard 2017-01-03 16:52:52 +01:00
Miro Spönemann
96e68f32b2 Merge pull request #214 from eclipse/msp_xtendBootstrap
Improve Xtend bootstrap
2017-01-03 09:05:00 +01:00
Karsten Thoms
64420ce676 Merge pull request #213 from eclipse/kth_bug492072_xtendgen
[492072] Regenerated Xtend code
2017-01-02 18:33:15 +01:00
Karsten Thoms
56f1d1079e [492072] Regenerated Xtend code
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-02 14:33:55 +01:00
Miro Spönemann
6a13144f08 [build] Use build result from xtend-bootstrap job for Xtend compiler, added skipXtendCompiler option 2017-01-02 11:47:11 +01:00
Miro Spönemann
0ebf15db7d Merge pull request #211 from eclipse/msp_xtendCompiler
Apply Xtend Gradle plugin during the build
2016-12-23 13:03:53 +01:00
Miro Spönemann
5cb66e57ac Apply global Xtend compiler classpath also to test source set 2016-12-23 10:26:51 +01:00
Miro Spönemann
88373ecc79 [build] sourceCompatibility is a project property, not a task property 2016-12-23 10:18:28 +01:00
Sven Efftinge
4cc8c07641 [smap] made old smap installer try to delegate to new impl. This will allow users to fix this just by adding the corresponding dependency to the classpath. 2016-12-23 09:02:08 +01:00
Miro Spönemann
1530c90614 Reorganized some build configuration 2016-12-23 08:45:26 +01:00
Miro Spönemann
db27510bf4 Include trace files in source jar 2016-12-22 16:42:10 +01:00
Sven Efftinge
87009ec69b [build] fixed bootstrap build successfully using xtend compiler 2016-12-22 16:42:10 +01:00
Miro Spönemann
648f51911b Second approach to generating Xtend files in the build 2016-12-22 16:42:10 +01:00
Karsten Thoms
55b7531d74 Merge pull request #210 from eclipse/kth_bug492072
[492072] Minimized usage of local variables
2016-12-22 14:20:40 +01:00
Christian Schneider
7fb8f1d0cf [releng/releng-target] added org.junit:0.0.0 from orbit to target platform of the local p2 repo build
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-22 10:44:42 +01:00
Christian Schneider
290b698f95 [xtext.testing + xtext.wizard] fix/improvement of build config of test projects in 'TestProjectDescriptor'
* consolidated version of 'org.junit' with our reference in 'gradle/versions.gradle' (currently 4.12)
* added dependency to 'junit:junit:4.12' with scope 'testCompile' to templates of 'pom.xml' + 'build.gradle'

Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-22 10:44:42 +01:00
Miro Spönemann
aeedcc8ef3 [build] Added BuildDiscarderProperty 2016-12-22 10:09:40 +01:00
Karsten Thoms
c9b7bf5af2 [492072] Minimized usage of local variables
The Xtend compiler was optimized to minimize the usage of synthetic variables for member feature calls and right-hand assignments

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-12-22 00:54:25 +01:00
Christian Schneider
1d79c61326 [ide.tests] added references across files test in 'ReferenceTest'
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-21 11:34:32 +01:00
Christian Schneider
8846f34734 [xtext.wizard] added 'org.eclipse.xtext.common.types' to dependencies of MWE executions in 'RuntimeProjectDescriptor's build file templates.
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-20 17:48:09 +01:00
Miro Spönemann
7bceda03da Switched test project dependency created by wizard from xbase.junit to xbase.testing 2016-12-20 10:31:18 +01:00