Miro Spönemann
daef210300
[gradle] Changed version qualifier format for consistency with Tycho
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-18 08:58:26 +02:00
Christian Dietrich
7bf4f2ee7b
add .testing to dependencies of ui tests
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-10-17 15:22:19 +02:00
Miro Spönemann
4e3a123c12
Merge pull request #143 from eclipse/msp/issue127
...
DefaultIdeModule: Add means for controlling the lifecycle of executors
2016-10-17 14:26:32 +02:00
Miro Spönemann
594a67d41a
[gradle] Simplified manifest generation (is postprocessed anyway)
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-17 14:11:33 +02:00
Miro Spönemann
13225035d5
[gradle] Added configuration for bundle manifests
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-17 14:05:36 +02:00
Miro Spönemann
986ec23fc7
Regenerated test languages
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-17 10:05:07 +02:00
Miro Spönemann
6e9931dfaa
#143 : Added ExecutorServiceProvider for better handling of executor instances
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-17 09:45:47 +02:00
Miro Spönemann
3d22454111
#127 : Regenerated test languages
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-14 15:14:24 +02:00
Miro Spönemann
282f734fa0
Fixed #127 : Add means for controlling the lifecycle of executors
...
Also prepared changes required for eclipse/xtext-web#6
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-14 15:14:24 +02:00
Sven Efftinge
95dc78d200
updated to latest ls-api change
2016-10-14 14:01:44 +02:00
Sven Efftinge
8d56e7f727
Merge pull request #137 from kittaakos/document_highlight
...
[LanguageServer] Provide DocumentHighlight Service (Mark Occurrences)
2016-10-14 13:57:38 +02:00
Akos Kitta
d161e9ee13
Manually merged conflicting changes from upstream/master.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-14 13:56:01 +02:00
Akos Kitta
dcca808fe1
Merge remote-tracking branch 'upstream/master'
2016-10-14 13:35:51 +02:00
Moritz Eysholdt
db03d9f7b8
[serializer/perf] produce diagnostics only on error
...
Don't always run the old ConcreteSyntaxValidator before serialization.
Instead, create diagnostics in the serializer only when serialization
fails.
see https://github.com/eclipse/xtext-core/issues/48
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-14 12:22:40 +02:00
Moritz Eysholdt
66b8ace522
[GrammarUtil/perf] make containing*() fast for misses
...
containingAssignment() and containingCrossReference() should return
null as fast as possible when there is no Assignemnt/CrossReference
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-14 12:22:13 +02:00
Moritz Eysholdt
d7f9373b95
[textRegionAccess/perf] don't call getLength() on ICompositeNodes
...
because on them it's a derived (expensive) value
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-14 12:22:13 +02:00
Sven Efftinge
5c5a08a1c2
[LSP] Moved creation of CompletionList to language-specific implementation
2016-10-14 10:55:23 +02:00
Moritz Eysholdt
d2bc2f52f1
[serializer/perf] don't generate events for unassigned parser rules
...
Because they're neither consumed by the old- nor the new formatter.
And they are not needed to generate text.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-13 19:30:55 +02:00
Moritz Eysholdt
053a1c5069
revert ef25bcbe4c
, no performance increase
2016-10-13 19:30:55 +02:00
Moritz Eysholdt
bff7b4ec65
[serializer/perf] avoid redundant calls to .distanceToFinalStateMap()
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-13 19:30:55 +02:00
Miro Spönemann
6133e4db1d
Merge pull request #142 from eclipse/msp/issue122
...
Change default binding of IReferableElementsUnloader to GenericUnloader
2016-10-13 15:52:11 +02:00
Miro Spönemann
44bc1f733b
Regenerated test languages
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-13 15:29:31 +02:00
Miro Spönemann
bbda47b341
Fixed #122 : Change default binding of IReferableElementsUnloader to GenericUnloader
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-13 11:21:04 +02:00
Moritz Eysholdt
8d9cea5738
Merge pull request #139 from eclipse/msp/grammarConstraintProvider
...
[serializer] Improved performance of bounds computation
2016-10-11 15:48:50 +02:00
Miro Spönemann
e8682fbfd3
[serializer] Improved performance of bounds computation
...
Implemented new algorithms for computing upper and lower bounds in GrammarConstraintProvider
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-11 15:38:09 +02:00
Moritz Eysholdt
ef25bcbe4c
[serializer/performance] use an identity string to compare NFAs/PDAs.
2016-10-11 13:54:46 +02:00
Moritz Eysholdt
6c71e90449
[serializer/performance] use ArrayListMultimap
...
This avoids calls to hashCode() .equals() on values.
2016-10-11 13:54:46 +02:00
Moritz Eysholdt
37072866dc
[serializer/performance] make identity string computation faster
2016-10-11 13:54:46 +02:00
Sven Efftinge
f096887f0b
[LSP] don’t do a runWrite on didSave, because it cancels previous write actions.
2016-10-11 09:26:45 +02:00
Moritz Eysholdt
80a6f9fcf8
[serializer/performance] avoid redundant grammar analysis
2016-10-11 08:49:25 +02:00
Akos Kitta
62c439af26
Merged conflicting changes.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-10 11:25:57 +02:00
Akos Kitta
673fadb3d3
Merge remote-tracking branch 'upstream/master'
2016-10-10 10:52:02 +02:00
Akos Kitta
70e51e52d5
Adjusted language server's document highlight API.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-10 10:51:56 +02:00
Akos Kitta
37ec51a710
Added basic document highlight implementation.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-10 10:49:35 +02:00
Sven Efftinge
0d929c802f
[lsp testing] Added optional assert hook as an alternative to the convenient but fragile string comparison approach
2016-10-10 09:16:16 +02:00
Miro Spönemann
54b63bc0d9
Merge pull request #102 from kthoms/kth/issue101
...
[#101 ] Configure lineDelimiter in workflows
2016-10-10 08:35:17 +02:00
Moritz Eysholdt
e90d21797e
fixed eclipse/xtext-eclipse#100 serializer/performance fix regression
...
This disables a check with a legacy impl.
The check should never be active at runtime.
Unfortunately, the legacy impl has a bug when a node's parent is null.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 20:33:52 +02:00
Moritz Eysholdt
d59869f704
[serializer/performance] avoid redundant traversal of node model
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 20:18:44 +02:00
Moritz Eysholdt
40016bd0dd
regenerated test languages
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 20:16:47 +02:00
Moritz Eysholdt
c683d48d8b
[serializer/performance] never resolve cross references
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 20:16:47 +02:00
Moritz Eysholdt
914880e1d7
[XtextGenerator] improve error reporting
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 20:16:47 +02:00
Moritz Eysholdt
607e2cd031
regenerated test languages
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 15:26:40 +02:00
Moritz Eysholdt
127b2af797
Removed test case triggering new validation rule
...
The validation rule was introduced in
73fd155426
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 15:26:40 +02:00
Moritz Eysholdt
88b34d57c8
[serializer] fixed a NPE
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 15:26:40 +02:00
Karsten Thoms
9697786f3d
[ #101 ] Configure lineDelimiter in workflows
...
Add 'lineDelimiter' to project configuration and generate it to the
'code' configuration in the workflow.
Adjusted test expectations.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-10-07 15:07:30 +02:00
Moritz Eysholdt
423780cf3e
fix eclipse/xtext-extras#63 broken serializer tests
...
this is a fixup for cb9981d14cc279cb0433b63c9c88f8ebf20ba739
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-07 14:21:12 +02:00
Miro Spönemann
9e579127ee
Merge pull request #123 from kthoms/kth/bug502879
...
[502879] Streamlined plugin metadata
2016-10-07 11:34:30 +02:00
Miro Spönemann
8b795af1c8
Merge pull request #100 from kthoms/kth/bug378980_2
...
[378980] Refactored calls on deprecated API
2016-10-07 11:07:07 +02:00
Moritz Eysholdt
93ca0d1487
[serializer/performance] fixed broken hashCode() function
...
'parameterValues' was usually emptySet()
so parameterValues.hashCode() returned 0
which caused this hashCode() method to return 0
nothing but collisions when used as key in maps! duh!
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-06 23:30:40 +02:00
Moritz Eysholdt
17a85f155d
[serializer/performance] improved performance of node model traversal
...
this change deprecates EmitterNodeIterator since it relies on
expensive calls to iNode.getOffset().
Furthermore, it simplifies the implementation because
- lazy behavior does not provide advantages here
- 'allowHidden' and 'passAbsorber' were always false.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-06 16:46:52 +02:00