Commit graph

4029 commits

Author SHA1 Message Date
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
Moritz Eysholdt
2ef30dd4a7 [formatter] made TextRegionAccessToString's output more readable
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-04-30 17:43:26 +02:00
Jan Koehnlein
23247748c8 [incbuilder] first version
Change-Id: Ib07e2012b7737892eaad24d1d8dd91526f222212
2015-04-30 16:39:43 +02:00
Jan Koehnlein
7a8797b111 [incbuilder] towards Java dependency analysis
Change-Id: Iaa2546b9bad87a6783bb87bba66cd76f14fa7364
2015-04-30 16:39:43 +02:00
Moritz Eysholdt
14e4b55734 [formatter] several smaller improvements
- on exception, only cancle formatting of the current subtree
- don't format EObjects located outside the requested regions
- introduce document.interior(EObject, )
- introduce document.format for convenience
- introduce formatter.shouldFormat()

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-04-30 10:35:37 +02:00
Sebastian Zarnekow
20fbbfaaf7 [idea] Minor: don’t throw from LightAnnotation 2015-04-27 18:11:29 +02:00
Sebastian Zarnekow
8798c561ff [idea] Fixup merge / rebase problems 2015-04-27 14:22:20 +02:00
Sebastian Zarnekow
7861d6f095 [idea] Minor: Addes some TODOs, refactored code slightly, changed build script 2015-04-27 14:22:19 +02:00
Sebastian Zarnekow
8dbef4ffb4 [idea] Improved cancellation support in validator
Signed-off-by: szarnekow <Sebastian.Zarnekow@itemis.de>
2015-04-27 14:22:15 +02:00
Moritz Eysholdt
ca290e71ec [formatter] fix ITextRegionAccess#getInvokingGrammarElement(EObject)
Make sure this method returns the same grammar element, no matter
whether the text region access has been constructid via
serializer or node model.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-04-27 14:22:12 +02:00
akosyakov
f318b5e6a3 [idea][performance] Only relink a model on the modification counter
change, reparsing should be triggered by changing a corresponding xtext
file

Change-Id: I716eefbbe1166569179564c50335d4e2d61808e3
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
2015-04-27 14:22:04 +02:00