Titouan Vervack
0ea85189c8
Fixed warnings
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:18:18 +02:00
Titouan Vervack
b76f97ad24
Added null- and exception-safe variants of (priority)readOnly and modify
...
Also added I[Read|Write]Access where applicable
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 17:58:21 +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
Holger Schill
2e99cff76d
#664 [Grammar] Add Support for more Annotations
...
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2018-03-29 11:14:39 +02:00
Christian Dietrich
76053c6136
Merge pull request #678 from miklossy/master
...
[479833] Formatter2Fragment2 stub improvements.
2018-03-28 19:01:43 +02:00
Christian Dietrich
14fd588a2d
Merge pull request #679 from tivervac/redundant_modifier
...
Removed redundant modifiers
2018-03-28 18:57:08 +02:00
Holger Schill
c2ccc54ca3
Add Tests for ValidationFragment2 and @Deprecate annotation
2018-03-28 18:10:22 +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
1f61d373c9
Merge pull request #674 from eclipse/cd_core_issue_517
...
[eclipse/xtext-core#517 ] Moved Class File Constant Calculation to JavaVersion Enum
2018-03-28 06:28:29 +02:00
Christian Dietrich
a88b42e0c0
Merge pull request #676 from ArneDeutsch/xtext-core-616
...
Xtext core 616
2018-03-27 20:48:30 +02:00
Arne Deutsch
89baed80ba
[ eclipse/xtext-eclipse#616 ] Reverse of empty is empty again, not null.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-27 15:33:12 +02:00
Arne Deutsch
534e31d90e
[ eclipse/xtext-eclipse#616 ] Use more efficient algorithm.
...
Do a depth first traversal the node model in reversed direction and stop
at the first found node before the current offset with specific
properties. This way complete composite nodes can be skipped. This
changes the algorithm complexity from n to log(n) in most cases
(degenerated case ... flat node model).
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-27 13:58:16 +02:00
Christian Dietrich
d96626e1d8
regen with xtext 2.14
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-27 13:51:27 +02:00
Christian Dietrich
a0ab4b290b
[ eclipse/xtext-core#517 ] Moved Class File Constant Calculation to JavaVersion Enum
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-27 13:37:26 +02:00
Christian Dietrich
63a0a012ea
Merge pull request #668 from eclipse/cd_issue665
...
[#665 ] LanguageServerImpl.getAllLanguages returns duplicate results if a language supports several extensions
2018-03-27 08:19:04 +02:00
Jan Koehnlein
1009dd3c44
Merge pull request #673 from eclipse/jk/indentation
...
[formating] use indentation information
2018-03-27 08:11:44 +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
Jan Koehnlein
a5fba99cd4
[formating] use indentation information
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2018-03-26 21:35:31 +02:00
Christian Dietrich
f6d1727f98
Removed unused imports
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-26 19:39:20 +02:00
Christian Dietrich
07533ea2a1
Merge pull request #672 from eclipse/hs/664_grammarannotations
...
Hs/664 grammarannotations
2018-03-26 19:24:43 +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
5e9889ce92
Register XMLTypePackage explicitly in setup
2018-03-26 17:23:41 +02:00
Holger Schill
8ab08f8792
Make use of GlobalStateMemento
2018-03-26 17:07:15 +02:00
Holger Schill
6a0c83ed40
Remove XMLNamespacePackage from org.eclipse.xtext.xtext.generator.AbstractGeneratorFragmentTests.FakeEMFGeneratorFragment2.getReferencedEPackages(List<EPackage>)
2018-03-26 16:50:52 +02:00
Holger Schill
0e93f81c2d
Work with GenModel without pollution the environment with globals
2018-03-26 16:31:17 +02:00
Holger Schill
47effb3ff1
Allow multiple annotations on Terminal but restrict it to a well defined set.
2018-03-26 16:15:53 +02:00
Holger Schill
d6f4ecc4c1
Enable ecore only for FragmentTests
2018-03-26 15:39:48 +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
893a6ed207
Make tests run again
2018-03-26 14:45:59 +02:00
Holger Schill
9641e3b52c
Bypass resolution of all crossRefs for FragmentTests.
...
Reenable all Fragmenttests
2018-03-26 13:34:06 +02:00
Holger Schill
66c27998e8
Ignore Fragment-tests to see if the server behaves different for CI now.
...
This is a temporally state
2018-03-26 13:24:32 +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
43bab93b99
Merge pull request #667 from eclipse/kth_issue_eclipse520_2
...
[eclipse/xtext-eclipse#520 ] Adjust to latest API
2018-03-23 13:44:52 +01:00
Christian Dietrich
37ad4c8668
Merge pull request #669 from FStolte/fixTestsOnWindows
...
Fixed a test that did not work on windows due to line ending issues
2018-03-23 12:40:21 +01: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
Florian Stolte
73677dccb3
Fixed a test that did not work on windows due to line ending issues
...
Signed-off-by: Florian Stolte <fstolte@gmx.de>
2018-03-23 11:21:06 +01:00
Christian Dietrich
0cd8e8acf4
[ #665 ] added test for execute command service
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:36:45 +01:00
Christian Dietrich
f59edef7a1
[ #665 ] implemented a very simple command service
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:36:09 +01:00
Christian Dietrich
0b6d40d4eb
[ #665 ] added multiple file extensions for test lang
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:35:04 +01:00
Christian Dietrich
721c690639
[ #665 ] regenerated test languages
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:34:25 +01:00
Christian Dietrich
39f6f30ed5
[ #665 ] determine unique resource service providers only
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 18:17:15 +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