Commit graph

4039 commits

Author SHA1 Message Date
Sven Efftinge
21575e09ef [fix] for something I broke before… 2015-06-25 13:52:20 +02:00
Sven Efftinge
8029860e5a Make obtaining and creation of ChunkedResourceDescription with ResourceSet simpler and less prone to errors. 2015-06-25 11:57:12 +02:00
Sven Efftinge
f5e0c495fa Merge pull request #293 from eclipse/se/move_builder
moved incremental builder to org.eclipse.xtext.build
2015-06-25 11:46:35 +02:00
Sven Efftinge
7c4685aca6 moved incremental builder to org.eclipse.xtext.build
moved chunked resource descriptions to org.eclipse.xtext.resource
made container manager impls aware of projectdescription
2015-06-25 09:30:59 +02:00
akosyakov
96f531cad9 [idea] Added extensions points to register packages, resource factories
and resource service providers

Change-Id: I92c6072f2853ee546e04e0bf8129e17caf7959c0
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-06-24 14:22:37 +02:00
Sven Efftinge
f97ea455ac [builder] introduced chunked resource descriptions
ChunkedResourceDescriptions allow to hold, persist and update ResourceDescriptions on a per project/library basis. 

A corresponding project config and container manager allow to use this structure for scoping purposes.
2015-06-23 17:12:10 +02:00
Stefan Oehme
aa6e71a3c8 fixed types, removed API only used in tests 2015-06-23 09:46:35 +02:00
Stefan Oehme
4f4f445dd6 simplified DefaultTraceURIConverter 2015-06-23 07:58:06 +02:00
Stefan Oehme
181fbfc055 Merge remote-tracking branch 'origin/master' into so/incremental_build
Conflicts:
	intellij/org.eclipse.xtend.idea.tests/src/org/eclipse/xtend/idea/autobuild/MultiModuleTest.xtend
2015-06-22 15:12:43 +02:00
Stefan Oehme
d6e434a67a WorkspaceConfigProvider continued 2015-06-22 15:07:32 +02:00
Miro Spönemann
28f1dacd21 [web] Bug 470517: don't create proposals for unassigned terminal rules
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-06-22 11:44:56 +02:00
Miro Spönemann
186c83e84c [web] Wrote comments, improved UpdateDocumentService API
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-06-22 11:01:20 +02:00
Stefan Oehme
7b1f77a597 Merge remote-tracking branch 'origin/master' into so/incremental_build
Conflicts:
	plugins/org.eclipse.xtext.xbase/META-INF/MANIFEST.MF
2015-06-22 10:37:43 +02:00
Stefan Oehme
2c95fb52f9 Introduce WorkspaceConfig as a top level concept
- Xtend no longer needs special handling in the standalone compiler
- Standalone Singletons (WorkspaceConfigProvider, OutputConfigurationProvider) replaced with ResourceSet adapters
- Tracing Infrastructure uses the new source folder information instead of relying on platform:/resource URIs
2015-06-22 10:33:33 +02:00
Sebastian Zarnekow
aafad628c2 Regenerated testlanguages 2015-06-19 11:18:22 +02:00
Sebastian Zarnekow
aa18dadaf8 Merge branch 'master' into jk/idea_autobuild 2015-06-19 11:06:49 +02:00
Jan Koehnlein
c13cb800f4 [ide] added IImageDescription/Provider APIs
Change-Id: I099a4bdcd1236f2e8637571478c3df39a57c0f75
2015-06-18 11:05:38 +02:00
Sven Efftinge
99176b03bc [builder] moved AbstractIncrementalBuilder test to xtext.junit4 2015-06-16 15:52:16 +02:00
Sven Efftinge
0e1357e592 [builder] removed unused properties 2015-06-16 15:20:49 +02:00
Sven Efftinge
a0e90526e0 [incremental builder / idea] several changes (see below)
- moved StubBasedJvmTypeProvider to xtext.idea, 
- added support for handling java changes, 
- removed usage of LanguageAccess (deleted XtextLanguages), 
- [incremental builder] added externalDeltas to process but not load, changes from upstream modules or java changes.
- [java-lang] added ISetup
2015-06-16 11:48:39 +02:00
Sven Efftinge
d5a2c348c2 [java lang] fixed junit deps 2015-06-15 14:36:25 +02:00
Miro Spönemann
40002ebf74 [web] Moved generic content assist implementation to xtext.ide project and created xbase.ide project
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-06-15 10:29:29 +02:00
Sven Efftinge
86c4ca76ff [builder] some more tests which now use in-memory file system. Some refactorings and simplifications of indexer. 2015-06-11 17:17:13 +02:00
Sebastian Zarnekow
b3797850bf Code clean-up 2015-06-10 17:16:55 +02:00
Sebastian Zarnekow
8c5985ea29 Refined IGenerator infrastructure:
- Introduced IGenerator2 with proper before / after contracts
  Clients of the IGenerator may process the code gen in parallel
  and need before and after to prepare the resource set
- Introduced IFileSystemAccess2 which implements all existing
  extension intf of IFileSystemAccess and is documented to be
  not an API that is to-be-implemented but provided thus new
  methods can be added later.

Eliminated most of the code from XtendParallelBuilderParticipant.
2015-06-10 17:16:53 +02:00
Moritz Eysholdt
6aa392bf19 [serilizer] fixed two bugs spotted by findbugs
- fixed GenericSyntacticSequencer
- didn't modify behaviour of GrammarConstraintProvider to avoid 
  regressions; I'd rather deprecate the GrammarConstraintProvider.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-06-10 15:54:07 +02:00
Sven Efftinge
f8a5ca0f6d [idea] auto builder exposes resourceDescriptions 2015-06-05 10:22:06 +02:00
Karsten Thoms
6892cd7b5d Update DefaultDeclarativeQualifiedNameProvider.java
Typo
2015-06-05 09:55:22 +02:00
Sven Efftinge
1ca974821f [idea] introduced URIHandler that works with VirtualFileSystem and Documents 2015-06-04 15:07:20 +02:00
Sven Efftinge
26675d73e7 [idea / builder] refactorings in incremental builder, and idea.
- made standalone builder agnostic of java.io.File (not finished),
- introduced URI based File system access
- changed how resourcesets are created, they use module as classpathuricontext

Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-06-03 10:28:49 +02:00
Sven Efftinge
68c559e7e4 Merge pull request #262 from eclipse/se/bug469069
[469069] fixed NPE
2015-06-02 10:36:40 +02:00
Sebastian Zarnekow
a172a14380 Merge pull request #259 from eclipse/sz/bug467565
[467565] Improved performance for case insensitive languages
2015-06-02 10:33:12 +02:00
Sebastian Zarnekow
84379dc1b0 Fixed merge problems 2015-06-02 08:43:16 +02:00
Sebastian Zarnekow
e83622d114 Merge remote-tracking branch 'origin/maintenance' 2015-06-02 08:38:31 +02:00
Sven Efftinge
a77870224f [469069] fixed NPE
Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-06-02 08:05:54 +02:00
Sebastian Zarnekow
1e1d8571c5 Some minor JavaDoc enhancements
Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-06-01 16:37:19 +02:00
Sebastian Zarnekow
b93fb89dcd [467565] Improved performance for case insensitive languages
- Use QualifiedName.equalsIgnoreCase if appropriate
- Deserialize lowercase QN as lowercase instances from index

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467565
2015-06-01 16:35:21 +02:00
Sebastian Zarnekow
7cfdafd988 [467456] Speed up the installation of source URIs
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467456

Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-05-22 17:58:03 +02:00
Sven Efftinge
9bea9f7542 Merge pull request #224 from eclipse/se/bug466667
[xtend] don’t index xtend sources from jars (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=466667)
2015-05-21 14:28:02 +02:00
muelder
d0a18d847f Merge branch 'non_final_tasks' of https://github.com/andreasmuelder/xtext.git into non_final_tasks 2015-05-18 17:08:51 +02:00
muelder
91db268475 removed 'final' from Tasks to allow addition of custom data via
delegation

Signed-off-by: muelder <andreas.muelder@itemis.de>
2015-05-18 17:07:55 +02:00
muelder
da7604454d removed 'final' from Tasks to allow addition of custom data via
delegation

Signed-off-by: muelder <andreas.muelder@itemis.de>
2015-05-18 16:49:33 +02:00
Moritz Eysholdt
c863953d80 [466265|formatter] Precondition fails in textReplContext.withReplacer
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-05-15 10:58:36 +02:00
Miro Spönemann
e101883779 [xtext] Improved performance of GrammarUtil.findRuleForName
Signed-off-by: Miro Spönemann <miro.spoenemann@itemis.de>
2015-05-11 14:28:10 +02:00
Sven Efftinge
a0d7bf25cc [xtend] don’t index xtend sources from jars (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=466667)
Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-05-07 09:36:28 +02:00
Sven Efftinge
11c2745905 [incremental standalone builder] tests, proper IAllContainerStateAdapter, remove deleted resources
- Added tests for the incremental builder
- some refactorings to make the state less shared
- ‘FlatResourceSetBasedAllContainersState’ uses ResourceDescriptionsData if existent.
- some minor other things.

Signed-off-by: Sven Efftinge <sven.efftinge@itemis.de>
2015-05-06 10:55:43 +02:00
Dennis Huebner
754a5ef242 [fb] Fixed some more bugs.
https://xtext-builds.itemis.de/jenkins/job/xtext.code.analysis/3414/findbugsResult/new/

Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-05-05 14:23:21 +02:00
Dennis Huebner
99f99b4ab8 [fb] findbugs 3.0.1. Added filter for InMemoryJavaCompiler.
Fixed some fb markers

Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-05-05 11:59:39 +02:00
Moritz Eysholdt
fde04fa884 [formatter] fixed broken test
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-05-01 11:17:41 +02:00
Moritz Eysholdt
ec27a78c98 Merge pull request #213 from eclipse/me/a
[formatter] made TextRegionAccessToString's output more readable
2015-05-01 10:36:52 +02:00