Commit graph

3668 commits

Author SHA1 Message Date
Moritz Eysholdt
b754d3f0c9 Revised and improved Xbase's formatter and moved it to Xtext.
TODO:
- disallow overriding non-whitespace
- hook up serializer
- update JavaDoc
- move comment tests from Xtend to Xtext

Change-Id: I7d31999f43888ce2492502be6871e88c0532ecb9
2014-11-24 04:07:05 -05:00
Dennis Huebner
1cd512d546 Merge "[resource] fixed regression introduced by af3a63291ae372ef6623346bf21a52ddcbdd65c7 "avoid derived state calculation when unloading a resource" https://bugs.eclipse.org/bugs/show_bug.cgi?id=451668" 2014-11-21 11:39:00 -05:00
Jan Koehnlein
742b2c1321 [resource] fixed regression introduced by
af3a63291ae372ef6623346bf21a52ddcbdd65c7
"avoid derived state calculation when unloading a resource" 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=451668
2014-11-21 16:56:51 +01:00
akosyakov
3cfae9f5de [xtend][IDEA] Added TokenSourceProvider to create a token source base on
a text, reader or stream; customized PsiAntlrGrammarGenerator for Xtend
to use flexer's token names

Change-Id: I8e67c36813892c58eaab3f590ea4e057f841d61a
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2014-11-21 15:27:12 +01:00
Stefan Oehme
c5c86876b7 Merge "remove export of nonexisting package" 2014-11-21 07:45:24 -05:00
Jan Koehnlein
a3e78d92a6 [resource] avoid derived state calculation when unloading a resource
https://bugs.eclipse.org/bugs/show_bug.cgi?id=451668

Change-Id: Iaeb72a17f57884b8c63e1fb5a6e81e9a04ec34e7
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-11-21 10:22:07 +01:00
Stefan Oehme
5888726e35 remove export of nonexisting package 2014-11-20 16:21:26 +01:00
Stefan Oehme
961a87bcf7 Merge "intial creation of xtext.ide bundle" 2014-11-20 08:04:56 -05:00
Stefan Oehme
585d8e4121 intial creation of xtext.ide bundle
Change-Id: Ia5064f99db035a1d456dc75e5e10b5740da67885
2014-11-20 10:22:50 +01:00
Sebastian Zarnekow
c93284e64c [xtend][validation] Fix: ConstantConditionsInterpreter uses wrong instance of resolved types
https://bugs.eclipse.org/bugs/show_bug.cgi?id=450834

Change-Id: I16b6cb80c22936db2ea5980bd818cfd873bad75a
2014-11-20 10:08:58 +01:00
Jan Koehnlein
dfc369b785 [document] added missing constructor parameter
https://bugs.eclipse.org/bugs/show_bug.cgi?id=447301

Change-Id: I0dc647ef6fef1a3b476acadccb693a5d10ec7bd7
2014-11-13 14:00:01 +01:00
Jan Koehnlein
d2492cce48 [generator] JavaIoFileSystemAccess should respect OutputConfiguration#isOverrideExistingResources
https://bugs.eclipse.org/bugs/show_bug.cgi?id=398979

Change-Id: I1dbff73b93b5e58a4f2651e16d48201f8dbc240d
2014-11-12 10:46:45 +01:00
Dennis Huebner
6361174eb0 [releng] org.eclipse.xtext should have require-bundle to
com.google.inject as mandatory Bug 439758

Change-Id: Id87bdd4239ea0acdf202e8b32d062c804d4b83f6
2014-11-05 11:28:58 +01:00
Dennis Huebner
542d792282 [simrel] Fixed provider/vendor names. Configure Xtext branding plugin. 2014-11-03 14:55:25 +01:00
akosyakov
775626c856 [IDEA] Extracted replaceByRootNode method for NodeModelBuilder 2014-10-22 12:53:58 +02:00
Sebastian Zarnekow
3cfa737b80 [hover] Prevent NPE in OutdatedStateManager
Should fix failing test on server

Change-Id: I20ec44e9a41ee29ff2dbce410ffab8bfa6e7ba34
2014-10-20 09:54:31 +02:00
Sebastian Zarnekow
d254df4361 [xtext][tests] Fixed regression in Quickfix test
Change-Id: I106a26228dc93cbd99ef9d85f2a769fece2889fa
2014-10-17 13:46:21 +02:00
Dennis Huebner
bd628618aa [j2x] Improved switch handling. Added more tests.
Change-Id: Idee9a1148bc4b29490dd32be61f9c90a10fcfa2f
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-10-15 09:46:29 +02:00
Dennis Huebner
a1596b6f68 [guice] Avoid using internal com.google.inject API - Bug #446106
Change-Id: I4bd8f036d3537df04bfaf923c5454c0f7d11de91
2014-10-07 14:44:04 +02:00
Stefan Oehme
9aa9d4ade3 Merge "only throw OCEs when a UnitOfWork is cancelable" 2014-10-02 09:54:13 -04:00
Stefan Oehme
291a8ab843 only throw OCEs when a UnitOfWork is cancelable
Change-Id: I445c821f4b5b4e574af205f3eb0a3e7932382b5a
2014-10-02 14:50:18 +02:00
Stefan Oehme
5bc6f3caad Merge "unwrap OCErr in XtextDocument.readOnly" 2014-10-02 03:58:00 -04:00
Stefan Oehme
27143e6b7f unwrap OCErr in XtextDocument.readOnly 2014-10-02 09:04:14 +02:00
Dennis Huebner
97f5b2336f [mvn] Using Java 8 compatible ejc version - Bug #445595 2014-10-01 15:12:05 +02:00
Sven Efftinge
73bef569c5 removed println, enabled stack trace 2014-09-26 08:27:11 +02:00
akosyakov
01c0eefa29 [xtype] Unload a type resource on the operation canceled exception
during loading
2014-09-25 15:28:23 +02:00
Stefan Oehme
7f8b671ede Merge "removed a default getter implementation" 2014-09-25 01:48:22 -04:00
Dennis Huebner
8784727b4a Merge changes If4bd716c,Id07e1e32,I89f04a6f
* changes:
  Bug 440654: Directly open Java implementation of class / method in other editor
  introduce EditorUtils.createEditorInput(IStorage)
  made the arithmetics example work without JDT
2014-09-24 16:50:20 -04:00
Sebastian Zarnekow
f17b439883 [xtext][tests] Expand all folding regions in tests
This should fix the failing tests on the server.

Change-Id: I2dffab5c2855a2a0234d8cf4d17b2116fc8c22ee
2014-09-24 20:59:53 +02:00
Moritz Eysholdt
561be441f1 Bug 440654: Directly open Java implementation of class / method in other editor
Change-Id: If4bd716c965434a21cdb5514748f408bbdc03dd2
2014-09-24 18:08:42 +02:00
Sven Efftinge
f09e9a10c4 [cancelation] more refinements
Change-Id: I32a5a95e6dc6c172a96b888234d616ebf0922f7b
2014-09-24 05:00:18 -04:00
Sven Efftinge
71b3c42c91 fixed failing tests 2014-09-22 22:17:29 +02:00
Sven Efftinge
9497e7ef7a [cancelation] Introduced ProcessCanceledManager to manage outdated state of resource sets and abstract over platform specific ways of handling process canceled exceptions.
Change-Id: I35930784cf7aa887f58919e0512e4ab13eea1717
2014-09-22 16:20:07 +02:00
Stefan Oehme
d2cf9b14ed removed a default getter implementation 2014-09-22 08:30:55 +02:00
Sebastian Zarnekow
16e7ae01de [xtext][scoping] Added more test cases for default scoping semantics
Fixed expectations. Stash pop helps …

Change-Id: I5ef15e97cce8dabb7ed8575f1ef7a5c08e1d3bb0
2014-09-18 16:29:23 +02:00
Sebastian Zarnekow
ed521abf22 [xtext][scoping] Added more test cases for default scoping semantics
Change-Id: I76adbef43568160c06553fca426728b073857b75
2014-09-18 14:58:32 +02:00
Sven Efftinge
ba56e59e09 don't rethrow everything, just operation cancelled exceptions
Change-Id: I9e230588020ae126fd9a13420963d2988a73829b
2014-09-18 14:12:56 +02:00
Sven Efftinge
5f9d5a560e More operation canceled exception handling 2014-09-16 13:50:55 +02:00
Sven Efftinge
b77282cc75 Introduced Exceptions#getOperationCanceledException to deal with different platform-specific (intellij, eclipse) operation canceled exceptions. 2014-09-16 10:17:34 +02:00
Sven Efftinge
6e7d3dcb10 [core] removed the special hack about linking to ecore models in src folders, since it should no longer be needed and causes trouble in other situations (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=443946)
Change-Id: I14c41f0a9ee941e06fbe6181a669f9faa7eec35d
2014-09-12 16:43:19 +02:00
Moritz Eysholdt
9881af7b74 fixed 443705 [linking] LazyLinkingResource#handleCyclicResolution breaks cycle detection
Change-Id: I1627a14ed0db8197d7ca14e24c0d6b121c53cd6a
2014-09-11 15:34:07 +02:00
Sven Efftinge
0d4ba23457 Create a copy of the URIs, to avoid CME when new types are loaded into the resource set (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=443739) 2014-09-11 11:18:02 +02:00
Dennis Huebner
8bf2bdbfd6 [api] Removed xtend.core reexport from xtend.ide. Cleanup filters.
Set Xtend compiler to not clean the generated files during clean build.
So the public API types do not get lost when API builder is running and
Xtend comiler is not done.

Change-Id: I327f8e4859d0e18792d29aadb7bee5597aba204b
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-09-10 11:04:15 +02:00
Dennis Huebner
87c937f194 [api] cleaned up api filters
Change-Id: Ib79c29b603f8eeff50c529742660481369157c6a
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-09-10 09:56:22 +02:00
Sven Efftinge
2a1fc40b54 [jvm model associations] turned error logging on for wrong associations. Added check to generic JvmTypesBuilder#cloneAndAssociate. (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=442282) 2014-09-10 03:30:21 -04:00
Dennis Huebner
11a6839888 [releneg] Increasing version to 2.8.0
Change-Id: I108d28a82813ac3f84e20c03a4f311a729d1fbc4
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-09-09 16:18:29 +02:00
Dennis Huebner
f67c48be38 [mvn] Increasing version to 2.8.0-SNAPSHOT 2014-09-09 16:01:03 +02:00
Sebastian Zarnekow
5bd30ad2a2 [xtext][serializer] Unstable auto-generated comment
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=399584

Change-Id: I82cb6b18bb25fcaa49f5b006e4d152cd86b34731
2014-09-08 11:36:08 +02:00
Dennis Huebner
9b229cc552 [releng] Increase version to 2.7.1
Change-Id: I68a4c9245ebeef6414f5bc8d48c256d06e482865
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2014-09-05 10:19:27 -04:00
Dennis Huebner
4fe6ecc663 [mvn] increase version to 2.7.1-SNAPSHOT 2014-09-05 11:44:08 +02:00