Commit graph

6026 commits

Author SHA1 Message Date
Karsten Thoms
bae491cbbf Merge pull request #479 from eclipse/issue355_update_repo_urls
[#355] Update repository URLs
2017-09-28 11:34:05 +02:00
Karsten Thoms
bac931ccfa Merge pull request #480 from eclipse/issue355_xtextversion_mwe
[#355] Update MWE to 2.9.1
2017-09-28 11:23:41 +02:00
Karsten Thoms
c507600bb9 [#355] Update MWE to 2.9.1
Changed wizard test expectation

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-09-28 11:19:33 +02:00
Karsten Thoms
3512bacf62 [#355] Update repository URLs
- MWE 2.9.1
- Oxygen.1

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-09-28 11:03:57 +02:00
Karsten Thoms
ed35e90470 Merge pull request #478 from eclipse/xtext_core_355
[eclipse/xtext-core#355] Upgrade MWE version
2017-09-28 08:17:24 +02:00
Karsten Thoms
79c28aea79 [eclipse/xtext-core#355] Upgrade MWE version
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-09-28 00:39:34 +02:00
Moritz Eysholdt
c1014a0972 [formatter/perf] Avoid calling List.newArrayList() during autowrap
To navigate the TextReplacers in reverse order, this change introduces a
reversed iterable. Thus, it is no longer necessary to copy all the 
TextReplacers into a list for reverse navigation.


Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-27 19:42:42 +02:00
Christian Dietrich
19b98df5b3 Merge pull request #474 from RealTYPICAL/master
https://github.com/Microsoft/language-server-protocol/blob/master/pro
2017-09-27 12:52:18 +02:00
James Tooley
19986743a1 Added generated java file. 2017-09-27 11:06:30 +02:00
Christian Dietrich
9f287c9ed1 Merge pull request #465 from eclipse/cd_extras_issue26
URIsInEcoreFilesTest fails in Eclipse
2017-09-27 11:03:00 +02:00
Christian Dietrich
0d566ebc2c added missing prefs file
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-27 10:23:38 +02:00
James Tooley
27bd8abb0d https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md Server should exit with success or fail code when exit has been called.
Exit Notification

A notification to ask the server to exit its process. The server should exit with success code 0 if the shutdown request has been received before; otherwise with error code 1.

Notification:

method: 'exit'
params: void

from
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md

Signed-off-by: James Tooley <jetter019@msn.com>
2017-09-26 16:18:53 +02:00
Karsten Thoms
14077a95a1 Merge pull request #471 from eclipse/kth_issue470
[#470] Contribute org.eclipse.core.contenttype.contentTypes extension
2017-09-26 14:40:22 +02:00
Christian Dietrich
6b98c5cd09 Merge pull request #469 from eclipse/cd_issue460_indent
fixed indent tests on windows #460
2017-09-26 14:12:38 +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
Christian Dietrich
36792dd026 Merge pull request #466 from eclipse/cd_issue348
removed EncodingTest.testSetup #348
2017-09-25 15:52:16 +02:00
Christian Dietrich
a4a96fd94c Merge pull request #468 from eclipse/cd_issue467
[Tracing] Allow to specify UseForDebugging #467
2017-09-25 15:39:20 +02:00
Christian Dietrich
762430602a fixed indent tests on windows #460
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-25 10:54:56 +02:00
Christian Dietrich
b71f866eb3 [Tracing] Allow to specify UseForDebugging #467
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-22 13:25:42 +02:00
Christian Dietrich
d5d1e3c88f removed EncodingTest.testSetup #348
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-21 09:53:21 +02:00
Christian Dietrich
94f10f680c URIsInEcoreFilesTest fails in Eclipse
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-20 11:39:52 +02:00
Christian Dietrich
1cb02fbd35 Merge pull request #463 from eclipse/cd_issue453
Don't publish issues with severity ignore #453
2017-09-19 09:46:50 +02:00
Christian Dietrich
22b550488b Don't publish issues with severity ignore #453
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-19 07:00:21 +02:00
Akos Kitta
d53c4edc00 GH-459: Aligned the test assertion in the failing case.
As the Javadoc says; the EMF file URI is created from the path of the
`java.io.File`. Paths with leading slashes are not valid paths on
Windows.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-14 16:35:47 +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
ec33ac5e7a Fixed handling of parameterized rules in CA 2017-09-13 18:20:53 +02:00
Sven Efftinge
11c084dc5e GH-73 Replaced the string replace with URI factory to fix the authority.
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-09-13 17:24:57 +02:00
Akos Kitta
f2d050a60f GH-73 Replaced the URI-string mapping logic with a string replace.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
cbc7debb28 GH-456: Replaced the javax.Inject with the Guice one.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
4445083dd2 GH-456: Imported static factory methods for the EMF URI creation.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
05d872b9a1 GH-456: Replaced leftover canonical path with the absolute one.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
867aa0d457 GH-456: Fixed regression in URIExtension.
Made sure that `inmemory:/` URI scheme will not be transformed into a
file URI.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Sebastian Zarnekow
eef480ac2b Fixed problem with referenced, missing methods in nameMapping 2017-09-13 10:29:55 +02:00
Sebastian Zarnekow
0016d62db9 Changes to .classpath files 2017-09-12 16:39:38 +02:00
Sebastian Zarnekow
23bcd46b9c Merge branch 'master' of github.com:eclipse/xtext-core into sz_contentAssistPRC 2017-09-12 10:28:34 +02:00
Sebastian Zarnekow
1126c7f569 Extracted common base type for old and new AbstractContentASsistParser 2017-09-12 10:28:09 +02:00
Moritz Eysholdt
846e686bd7 [formatter] improved comment handling in undefined regions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-12 09:18:26 +02:00
Sebastian Zarnekow
f1762d1aec Extracted anonymous classes to toplevel types to simplify customizing 2017-09-11 18:31:54 +02:00
Sebastian Zarnekow
b2767bf73b Extracted smaller methods to improve readability 2017-09-11 17:20:27 +02:00
Sebastian Zarnekow
6f1fc4018b Added JavaDoc 2017-09-11 17:19:08 +02:00
Sebastian Zarnekow
3e19521d33 Reformatted code 2017-09-11 17:16:34 +02:00
Sebastian Zarnekow
4a7871765e Regenerated UriExtensions + test 2017-09-11 17:01:10 +02:00
Sebastian Zarnekow
ee53a07c39 Fixed problem with parameterized rule calls in CA 2017-09-11 17:00:48 +02:00
Karsten Thoms
d0ef36771a Merge pull request #403 from xcariba/url-decode
Decode file URL
2017-09-08 10:33:39 +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
Karsten Thoms
942ade9415 ignore .DS_Store
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-09-07 08:20:18 +02:00
Sebastian Zarnekow
278a115708 Merge pull request #404 from eclipse/sz_gh341
Problem with content assist and grammar fragments
2017-09-06 14:29:14 +02:00
Christian Dietrich
d8a45bcfe2 fixed wrong import
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 10:41:45 +02:00
Christian Dietrich
0a72876241 improved error message
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 10:38:41 +02:00