Jan Koehnlein
c410c8857d
Bug 460269 [editor] open generated file doesn't work for multi-type Xtend files with comment as first statement
...
Trace merger tests and minor fix
Change-Id: I4d9403787c7799ac10241c6595b8d92c7494c183
2015-02-24 13:30:19 +01:00
Dennis Huebner
cb5123a764
Merge "Fixed links to documentation according to new website structure"
2015-02-23 13:16:06 -05:00
Miro Spönemann
b58eea29d9
Fixed links to documentation according to new website structure
...
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-02-23 17:33:55 +01:00
Jan Koehnlein
16049ef03f
Bug 460269 [editor] open generated file doesn't work for multi-type Xtend files with comment as first statement
...
Re-implemented merging of inverted traces. Tests TBD
Change-Id: Ib1e8d7bd89325d630207b638a2ba35e58e95c28c
2015-02-23 17:21:04 +01:00
Sebastian Zarnekow
baf15a52cb
[456482]: [xtext] Fixed referenced to Xcore from Xtext grammar workflow
...
The LanguageConfig will use a proper index for the resource set
and the grammar access will clone the resources from the resource set
as fully initialized to avoid duplicate initialization
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456482
Change-Id: I66f7f0cffdeb208b71c35b1594f3cb90fcd528ad
2015-02-22 14:55:24 +01:00
Jan Koehnlein
d8db274a42
Bug 460112: Strange IllegalStateException when importing URL in grammar editor
...
PackageRemover should never unload registered EPackages.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=460112
Change-Id: I921ae358ca39c4538e6e595ac0b56728638484eb
2015-02-20 18:15:58 +01:00
akosyakov
c28ab97d43
[intellij] added more tests for terminal rules
...
Change-Id: Ie4ae218c3974d417e85165e1685b82b585af2fda
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-20 14:22:45 +01:00
Jan Koehnlein
ee82c7438a
Bug 460269 [editor] open generated file doesn't work for multi-type Xtend files with comment as first statement
...
Consider region overlap when iterating trace regions.
Change-Id: Ia252510ef935316004d5f39ad9279d43f267ab5c
2015-02-19 20:19:23 +01:00
akosyakov
c600f9e09f
[intenllij] added terminal rules parsing tests
...
Change-Id: I5bb0f5f337472229d7c53e0567bd757d59715173
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-18 17:16:59 +01:00
akosyakov
2644541fe5
[intellij] tested unordered groups parsing
...
Change-Id: If2f1a238d8da017ce4ef98f550f3df96c011d08e
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-18 12:57:43 +01:00
akosyakov
f2c8eb65d3
[intellij] Generated psi parsers for all test languages from
...
org.eclipse.xtext.tests project
Change-Id: I3e16af96de08aa88ca0300ad5e0f4164bd5051e2
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-02-17 16:10:15 +01:00
Dennis Huebner
e226792fae
[osgi] Part of Bug 460001 : Missing "uses"-constraints cause class
...
loader problems with different Guava versions.
- Removed guava reexport from bundles which already reexport xbase.lib
- Removed "optional" in xtext.util for bundles that are used in public
signatures
- Added uses directive to xtext.util to track the use of guava packages
Change-Id: I79ef3add1befe66c3068b4345a53bab29042b73d
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-02-17 10:51:11 +01:00
Sven Efftinge
2aefc97350
[storage] allow nullable URIs. E.g. ReferenceDescription containerEObjectURI might be null if the reference is in a root eobject.
...
Change-Id: I25a354ca8d05a97c24be34c65170167f37f5128e
2015-02-16 13:20:44 -05:00
Dennis Huebner
17057231ae
Merge "[459633]: [xtend][builder] Fixed memory leak with cancelled builds"
2015-02-16 09:54:31 -05:00
Sebastian Zarnekow
bb3bf12803
[459633]: [xtend][builder] Fixed memory leak with cancelled builds
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=459633
Change-Id: Icc580d21f7810a7aa9b8c069e6517d504b40e23b
2015-02-16 14:39:35 +01:00
Holger Schill
e705659ac0
Fix broken Tests for Xtext Grammar ContentAssist
2015-02-16 14:04:30 +01:00
Holger Schill
785a39d785
[Xtext] [GrammarEditor] ContentAssist for grammar inheritance see https://bugs.eclipse.org/bugs/show_bug.cgi?id=459866
...
Change-Id: Ic9956ee742ee7c65c0ed84c239120bdf24f0af9f
2015-02-13 12:17:04 +01:00
Sebastian Zarnekow
196296613d
[xtext][formatter] Added missing author information
...
Change-Id: I17d7b51e69ae7916a1dc8658c1f970b8ea0bf4a5
2015-02-12 15:39:34 +01:00
Sebastian Zarnekow
24197724d5
[xtext][tests] Use org.junit.Assert rather than junit.framework.Assert
...
This avoid unnecessary deprecation warnings on the server
Change-Id: I0a1ace2703a211f632355495bd3b6d092edb48ef
2015-02-12 10:19:58 +01:00
Sebastian Zarnekow
617965332c
[xtext][formatter] Javadoc proofreading
...
Also a few minor typos in method or parameter names.
Added two methods to interfaces to avoid bogus cast
operations in the implementation classes.
Change-Id: I662d3c9a1028e489b00adcbf6921a13f0d07f44c
2015-02-11 18:08:44 +01:00
Dennis Huebner
eb6ecc5183
Bug 458176 - Discouraged access after regenerating with 2.8
...
Change-Id: Icae131e2c2860324e75fe209f9ed4d0c4435ef28
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-02-11 15:09:04 +01:00
Miro Spönemann
e2ef796cea
[xtext] Created example language with semantic whitespace (bug 451838)
...
- Added missing imports to content assist parser
- Disabled emitting of synthetic end tokens for content assist parser
- Added detection of overridden methods for new formatter stubs
Change-Id: I989585ebc42db8ddb72514eef17ab6e47481ddcc
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-02-11 13:38:06 +01:00
Dennis Huebner
ba3364e0c5
Merge "[performance] some more small performance improvements."
2015-02-10 14:34:34 -05:00
Sven Efftinge
8971b90c86
[performance] some more small performance improvements.
...
- avoid iterating adapters twice
- avoid iterating whole tree
- wrap DeflaterOutputStream with BufferedOutputStream
- [typeresolver] check rootedExpressions first
Change-Id: I14a02ec15a3bc22f4292c1361579cecc33b566f1
2015-02-10 18:58:13 +01:00
Sebastian Zarnekow
9a5ba2c01d
Bug 408323: Log if type resolution is triggered in the model inferrer
...
For Xtend we’ll throw an exception in these cases.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=408323
Change-Id: I944695de8d6db5bd54d7a7c4d09f0fde692536e1
2015-02-10 15:02:27 +01:00
Sven Efftinge
38bbe3ddb1
[resource / file system access] use BufferedInputStream
...
Change-Id: I5024e7dd439f09daf85c82aba2c8a58879b9d14e
2015-02-10 10:55:36 +01:00
Sebastian Zarnekow
48aedfcf0a
Bug: 459051 [xtext][linking] Maintain information about compile time constants
...
Added a hook to execute logic after the final linking was done
in the batch type resolution (addDeferredLogic()).
Not exposed as (provisional) API yet.
Also:
- Don’t forget the root cause if something goes wrong during
resource storage write operation
- Yet another NPE guard for default packages and type lookup
Change-Id: I26bff265485584f56f615fb3a7c7c60562992ec6
2015-02-09 18:54:44 +01:00
Sebastian Zarnekow
beb881f93f
[xbase][typesystem] Improved lambda type inference
...
An expected type was not always taken into account for
the lambda type’s parameter types and for generic argument
types.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458010
Change-Id: Iafdd1297b73ee4eda05d32c7c077c199e905e914
2015-02-07 17:54:34 +01:00
Moritz Eysholdt
e5d778fda0
[refactoring] facade for ResourceSet for Xtext-specific config
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=459290#c1
Change-Id: Iad613aa3fb3747914738c37af8cdd7f7d03c7bb1
2015-02-06 16:55:09 +01:00
Sebastian Zarnekow
32599d1e59
[xbase][workspace] Reduced runtime complexity of Provider<WorkspaceConfig>
...
The workspace based impl used to copy information about all projects on
each access. This is now done only for the projects that clients really
ask for.
Change-Id: I165a395235e2dca0085da4edac4e70144bef6c87
2015-02-05 19:21:19 +01:00
Sebastian Zarnekow
6aa2e61f8f
[xbase][guice] Added workspace root to DefaultXbaseUIModule
...
Also some NPE safety in ResourceStorageWritable
Change-Id: I725c7bde72ff77a18b2deb1bfd215997ef2ec7a6
2015-02-05 13:24:24 +01:00
Moritz Eysholdt
ef1dd4949b
[serializer] improve debug output and comments MyLangSyntacticSequencer
...
Change-Id: I6bfcdc0e6b6beef0c4427828c4f6280e6d3fe0a6
2015-02-04 14:28:58 +01:00
Moritz Eysholdt
54c6e2f1bf
[util] render start/stop states in graphviz as boxes, not as dots
...
..because dots can't contain text.
Change-Id: Ie38e59b17dd5c88fb00c0ae45f6e969335b51116
2015-02-03 20:04:40 +01:00
Sven Efftinge
53a95fc5aa
[Xtend] Moved lazy JvmMember initialization to BatchLinkableResource. Added initialization check to AbstractBatchTypeResolver. (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=457681 )
...
Change-Id: Ic173dee81c607bdb3fca2786ccc6925085195ba1
2015-02-03 13:55:13 +01:00
Miro Spönemann
b5b3936398
Merge "Added file header and class annotations options to Xtext generator (bug 296097)"
2015-02-03 07:04:05 -05:00
Miro Spönemann
1b8e03df34
Added file header and class annotations options to Xtext generator (bug 296097)
...
Change-Id: I403627ac5dfd1575078ce113da987739244a728e
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-02-03 11:49:38 +01:00
Sebastian Zarnekow
b09b08c95c
[xbase][compiler] Support Java8 bytecode in SDEInstaller
...
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458935
Change-Id: I9e397ea2865e7fd91325b43358bf63e10f3a5627
2015-02-03 11:13:18 +01:00
Sven Efftinge
9cd67e9bef
[late JvmType inflation] added synchronized executed check, added @noreference to new public method
2015-02-02 17:25:41 +01:00
Sven Efftinge
f5eca686e3
[xtend / jvmtypes] made JvmDeclaredTypeImplCustom lazy initializable. Used by Xtend for now (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=457681 )
...
Change-Id: I22e834000214b99f448081ecb0274c0b46c2811d
2015-02-02 10:26:58 -05:00
Moritz Eysholdt
9f674e43c3
[formatter] fixed a spelling mistake in a class name
...
Change-Id: I959d92ba25319d72c0d1cd7bde44526c3e21c309
2015-01-29 10:50:03 +01:00
Dennis Huebner
1a18741b00
Merge "[content assist] Fixed bug in context computation (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458269 )"
2015-01-23 12:54:10 -05:00
Dennis Huebner
cd4871db2c
[oomph] Fixed some setup issues with older TPs. Changed compiler
...
settings to 1.6.
2015-01-23 16:38:25 +01:00
Sven Efftinge
1973c279dd
[content assist] Fixed bug in context computation (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=458269 )
2015-01-23 16:25:04 +01:00
akosyakov
d2b85517ac
[458223] org.eclipse.xtext.generator.IFileSystemAccessExtension2.getURI
...
should not refresh resources
Change-Id: I8f2fbeea7629306b30d5074c15833818234e46a3
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-01-23 15:01:51 +01:00
Sebastian Zarnekow
1e90ab8f49
[xtext][partialParsing] Fixed corner case with production rules that return null
...
Change-Id: I80527ba9776560e6356a865465f654fe269c6fbd
2015-01-23 11:08:29 +01:00
Dennis Huebner
70873885e0
Merge "[storage] store DocumentationAdapter, optionally persist node model (off by default). Fixes broken hover (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456857 )"
2015-01-22 09:14:12 -05:00
Dennis Huebner
39bf346128
[javadoc] Fixed javadoc script. Fixed javadoc warnings.
...
Change-Id: I892b789c1bd4f4d7ff31b540f646d43c9018ea7c
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-01-22 13:57:05 +01:00
Moritz Eysholdt
259a365db7
regenerated languages
...
Change-Id: Ibd7322ac1f4c0256067265c0edff7ee68a48fb29
2015-01-22 12:16:53 +01:00
Sven Efftinge
cacbdef428
[storage] store DocumentationAdapter, optionally persist node model (off by default). Fixes broken hover (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=456857 )
...
Change-Id: I00bb55056640b45929bd709b980a2329c2ea2c17
2015-01-22 11:30:53 +01:00
Sebastian Zarnekow
2c5c80b4ce
[xtext][ui] Fixed more races in DirtyStateManager
...
Change-Id: I65672d44915e1e2eacbbc9e5f1c89a6a90d33ab0
2015-01-16 11:08:08 +01:00