Commit graph

3628 commits

Author SHA1 Message Date
Moritz Eysholdt
2dcc1cac85 [formatter2] updated JavaDoc 2014-11-26 16:19:36 +01:00
Moritz Eysholdt
487018b7b9 Merge "[xtend/formatter2] migrated smoke test to formatter2" 2014-11-25 08:35:13 -05:00
Moritz Eysholdt
78fc76332c [formatter2] fixed tests and regenerated test languages 2014-11-25 09:44:29 +01:00
Moritz Eysholdt
9ffcaf7f4f [xtend/formatter2] migrated smoke test to formatter2
Change-Id: I5cd18bf5c3ac348b26da8b2f404c7c5c27bb4a3c
2014-11-24 22:45:23 +01:00
Stefan Oehme
5767f1f235 Merge "copy partial editing interface to xtext.ide" 2014-11-24 10:43:12 -05:00
Stefan Oehme
f2b06ae887 Merge "copied reusable CA logic to xtext.ide" 2014-11-24 10:43:05 -05:00
Stefan Oehme
3335f0e4ad copy partial editing interface to xtext.ide 2014-11-24 15:07:18 +01:00
Stefan Oehme
9937d0c809 copied reusable CA logic to xtext.ide
Old logic needs to be deprecated after the generator fragments are
adjusted to use the new one

Change-Id: Ib0c321c34007301b544918d5a165c26600ea85f6
2014-11-24 15:07:08 +01:00
Moritz Eysholdt
5a98dbd1f3 [formatter2] smaller improvements to toString() implementations 2014-11-24 14:35:16 +01:00
Moritz Eysholdt
07e7d2bb87 [formatter2] made main dispatch method public to allow re-entrant invocation 2014-11-24 14:35:16 +01:00
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