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
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
2bfe5fb64b
Allow multiple Annotations on ParserRules
2018-03-22 11:12:08 +01:00
Holger Schill
a25e761971
Grammarannotations - Exported annotation and corresponding Fragment incl. tests
2018-03-22 09:02:27 +01:00
Karsten Thoms
a97d21c413
Merge pull request #660 from eclipse/codemining
...
Add Code Mining support
2018-03-21 18:50:55 +01:00
Sebastian Zarnekow
7da28520af
Merge pull request #663 from eclipse/sz/bug361216
...
[361216] Improved logic that registers scope wrappers
2018-03-21 18:48:14 +01:00
Christian Dietrich
4b0d37e1aa
Merge pull request #659 from ArneDeutsch/recursive-emf
...
[#449 ] Avoid stack overflow with deep EMF containment trees.
2018-03-21 18:45:30 +01:00
Christian Dietrich
01b08b5309
Merge pull request #661 from ArneDeutsch/globalreg
...
[522715] Copy/Clear new EAnnotationValidator registry map in EMF 2.14+.
2018-03-21 18:28:54 +01:00
Sebastian Zarnekow
a46f701920
Incorporated review feedback
2018-03-21 17:23:28 +01:00
Sebastian Zarnekow
9adf2d94ed
[361216] Improved logic that registeres scope wrappers
2018-03-21 17:13:06 +01:00
Arne Deutsch
89ec47729e
[522715] Copy/Clear new EAnnotationValidator registry map in EMF 2.14+.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-21 17:04:58 +01:00
Christian Dietrich
a7391d825e
Merge pull request #662 from ArneDeutsch/resourceset
...
[#476 ] Support EMF's ResourceLocators in XtextResourceSet.
2018-03-21 16:49:57 +01:00
Arne Deutsch
e90230f1b1
[ #476 ] Support EMF's ResourceLocators in XtextResourceSet.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-21 15:40:22 +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