Christian Dietrich
7377d51f13
Merge pull request #182 from eclipse/kth/umbrella-issue3-gradle-composite
...
Gradle composite
2016-11-29 11:37:19 +01:00
Christian Dietrich
dada46f859
fixed broken test
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-11-29 11:31:28 +01:00
Sven Efftinge
ea3c3faa6e
Merge pull request #181 from kittaakos/GH_180
...
Fixed issue in URI based file system access when checking missing files.
2016-11-29 09:04:57 +01:00
Karsten Thoms
8c381f8d59
Gradle composite
...
see https://github.com/eclipse/xtext-umbrella/issues/3
Remove org.eclipse.buildship.core.prefs
Files are generated on Gradle project import or by Oomph setup
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-28 14:41:08 +01:00
Karsten Thoms
c637df9451
Gradle composite
...
connection.project.dir changed to composite build location in new
umbrella project
value 'containers' added by Buildship
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-25 08:49:49 +01:00
Karsten Thoms
9919a9a46e
[406914] Reenabled generation of all test languages
...
Added Bug406914TestLanguage
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-22 08:35:04 +01:00
Karsten Thoms
7eb96d2fd6
[406914] Regenerated code for Bug301935TestLanguage
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-22 08:35:03 +01:00
Karsten Thoms
5b59e18217
[406914] Add test language
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-22 08:35:02 +01:00
Karsten Thoms
b4cf8ed1d0
[406914] Explicitly map identifiers for tab, cr and lf
...
The underlying ICU transliterator maps the special characters to
'Control'<code>, so these characters have to be mapped without using
ICU. Further to keep camel case of the mapped text the text is mapped
directly in toJavaIdentifierSegment.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-22 08:35:00 +01:00
Akos Kitta
64010edcfc
Fixed issue in URI based file system access when checking missing files.
...
A FNFE was thrown instead of returning with false.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-21 23:04:27 +01:00
Miro Spönemann
fd48d274c1
#160 : Changed test expectation to use unspecified Xtext version
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-23 19:51:52 +02:00
Miro Spönemann
2a449c744e
Merge pull request #157 from eclipse/cd_issue156
...
[WEB][Wizard][Generator] Update JS Libary Versions. Fixed #156
2016-10-20 15:32:16 +02:00
Christian Dietrich
fd6afda9bf
[WEB][Wizard][Generator] Update JS Libary Versions. Fixed #156
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-10-20 13:04:49 +02:00
Sven Efftinge
89733c8ab9
updated wizard to currently used gradle version
2016-10-20 09:15:37 +02:00
Miro Spönemann
e0a6217129
Removed old build files
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-18 17:05:23 +02:00
Christian Schneider
5d472b86ca
[xtext validation] added checks for missing or invalid '@Override' annotations in 'XtextValidator' as desired by #121 , put the issue codes to 'XtextConfigurableIssueCodes' although the severity is not configurable (yet), added a corresponding test to 'XtextValidatorTest'
...
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-10-18 09:54:44 +02:00
Christian Schneider
eba5492719
[grammar] introduced annotations to parser, terminal, and enum rules paving the way for @Override annotations as desired by #121 , updated generated + affected artifacts and tests
...
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-10-18 09:54:44 +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
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
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
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
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
80a6f9fcf8
[serializer/performance] avoid redundant grammar analysis
2016-10-11 08:49:25 +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
40016bd0dd
regenerated test languages
...
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
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
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
b717ec5b87
removed a System.out.println()
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-06 16:46:52 +02:00
Karsten Thoms
38f4122a2b
[502879] Streamlined plugin metadata
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-30 17:17:31 +02:00
Sven Efftinge
7c51af4e58
[lsp] use language specific proposal acceptor, added SerializableEObjectDescriptionProvider hook
2016-09-27 01:17:00 +02:00
Moritz Eysholdt
6bbad4f142
fixed #14 : [formatter2] honor FormatterRequest.allowIdentityEdits
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-09-25 23:15:59 +02:00
Moritz Eysholdt
7c7e1f88b7
fixed #97 [Formatting2/auto-wrap] never wrap preceding lines
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-09-25 22:50:45 +02:00
Lorenzo Bettini
4de451dd36
Merge pull request #104 from kthoms/kth/issue5
...
[#5 ] Ignore optional compile problems on *-gen source folders
2016-09-23 17:15:56 +02:00
Karsten Thoms
312e0af4d6
[ #5 ] Ignore optional compile problems on *-gen source folders
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-23 15:51:18 +02:00
Karsten Thoms
4b1737a6a7
[ #112 ] Generate launch configs for Xtext workflow and Runtime Eclipse
...
- Launch config for Runtime Eclipse is only generated when the runtime
project is a plugin project.
- Launch config for Xtext workflow is dependent on the build system. For
plain Maven projects the launch config uses the m2e launcher, for Gradle
builds buildship is launched.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-23 14:03:06 +02:00
Karsten Thoms
9b0947fe62
[format] Streamlined whitespaces
...
Consistent use of tabs instead of spaces
Use single whitespace between brackets
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-14 16:00:10 +02:00
Karsten Thoms
52f4fc8417
[378980] Refactored calls on deprecated API
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-14 09:13:11 +02:00
Karsten Thoms
8585d50734
[378980] Adjusted test: Manifest line break is system dependent
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-13 09:38:46 +02:00
Christian Dietrich
73fd155426
[445175] Missing error message on invalid alternative assignments with cross references
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-09-08 07:57:30 +02:00
Christian Dietrich
6858354b19
[482110] fixed AbstractFormatter2.shouldFormat
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-18 14:51:14 +02:00
Karsten Thoms
d7efc23796
[478377] Add null guard
...
Test call findNodesForFeature with null feature
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-08-16 22:21:44 +02:00
Moritz Eysholdt
79118e564d
Merge pull request #72 from eclipse/me_xtextresource
...
introduce XtextResource#setEntryPoint(ParserRule)
2016-08-12 13:46:25 +02:00
Moritz Eysholdt
467ee9cf51
Merge pull request #83 from kthoms/kth/bug484500
...
Kth/bug484500
2016-08-12 13:38:03 +02:00
Karsten Thoms
6309bba2e7
[484500] Changed build.properties for test expectations
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-08-12 11:04:44 +02:00
Karsten Thoms
735ea5d929
[484500] Add bin.excludes to build.properties
...
- the runtime project excludes .mwe2 and .xtend files
- the feature sdk project excludes nothing
- all other Eclipse projects exclude .xtend
- add test case WizardConfigurationTest#binExcludes
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-08-12 11:04:13 +02:00
Karsten Thoms
ae123abe38
[ #79 ] Upgrade Eclipse & MWE p2 repository URLs
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-08-12 08:30:48 +02:00
Moritz Eysholdt
6d19ebaa6c
Merge pull request #77 from kthoms/kth/issue76
...
[#76 ] Upgrade to Tycho 0.25.0
2016-08-12 06:57:13 +02:00
Karsten Thoms
337e4371e4
[ #76 ] Upgrade to Tycho 0.25.0
...
Covered by test CliWizardIntegrationTest
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-08-11 23:07:08 +02:00
Moritz Eysholdt
0745d5a43d
[ #16 , XtextResource] introduce setEntryPoint(ParserRule)
...
This change allows to specify on XtextResource what ParserRule the
parser should be using as the entry point.
see https://github.com/eclipse/xtext-core/issues/16
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-11 15:35:49 +02:00
Moritz Eysholdt
927d574d96
[ #16 , partial-parser] On fully re-parse, keep the entry parser rule
...
When the partial parser does a full re-parse, it should use the same
entry parser rule that has been used during the last parse.
see https://github.com/eclipse/xtext-core/issues/16
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-11 15:35:48 +02:00
Moritz Eysholdt
dc674d1abf
Merge pull request #71 from eclipse/me_strict_partial_parser_test
...
make AbstractPartialParsrTest more strict
2016-08-10 17:00:55 +02:00
Christian Dietrich
49b9ff4e55
Do not collect EObjects in transient Features when calculating IdToEObjectMap for Serialization. Fixes #65
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-03 08:16:44 +02:00
Christian Dietrich
76bcf589d1
- escape */ in javadoc of syntactic sequencer.
...
- fixes https://bugs.eclipse.org/bugs/show_bug.cgi?id=398890
- added testcase for Bug 398890
- fixed wrong escaping of /* and */ in grammar access
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-31 21:58:44 +02:00
Christian Dietrich
1c13b558e2
fixed #60 . GenerateSerializerLanguages.mwe2 should behave like GenerateAllTestLanguages.mwe2
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-31 20:38:27 +02:00
Christian Dietrich
8bc76b67ed
fixed broken test data calculation
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-29 10:25:56 +02:00
Moritz Eysholdt
b78ea72ffe
make AbstractPartialParsrTest more strict
...
It should also test if node.getGrammarElement() is correct
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-07-27 08:50:52 +02:00
Lorenzo Bettini
c0bc6616b5
40: toVarName handles EReference differently
...
Task-Url: https://github.com/eclipse/xtext-eclipse/issues/40
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-07-18 14:35:07 +02:00
Miro Spönemann
8387438f99
Updated plugin metadata
2016-07-15 14:41:59 +02:00
Miro Spönemann
c6f66ccf84
Removed some obsolete tests and their languages ( #32 )
2016-07-14 17:16:19 +02:00
akosyakov
b92009b9a6
Remove simple.jar from project's meta-data
2016-07-13 15:23:11 +02:00
Christian Dietrich
78154f2391
Merge pull request #38 from eclipse/cd/testWorkflows
...
Fix UriBasedReaderTest
2016-07-13 08:49:26 +02:00
Miro Spönemann
192f70c59f
Generated AllTestLanguages
2016-07-13 08:13:44 +02:00
Christian Dietrich
fa84a99b56
fixed UriBasedReaderTest ( #32 )
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-12 19:38:36 +02:00
Miro Spönemann
5f19ad2cae
Merge branch 'msp/generatorEncoding' into msp/testWorkflows
2016-07-12 16:06:14 +02:00
Miro Spönemann
522897c192
Generated EncodingTestLanguage
2016-07-12 14:48:00 +02:00
Miro Spönemann
69c1e29a7c
Generated EcoreInferenceTestLanguages
2016-07-12 14:15:38 +02:00
Miro Spönemann
7d14c12ed9
Generated ValidationLanguages
2016-07-12 14:12:12 +02:00
Miro Spönemann
a03a871ef3
Generated TestLanguages
2016-07-12 14:07:36 +02:00
Miro Spönemann
b9f39a928e
Generated SerializerLanguages
2016-07-12 13:59:45 +02:00
Miro Spönemann
8d6dff45ad
Generated EObjectAtOffsetTestLanguage
2016-07-12 13:54:56 +02:00
Miro Spönemann
a1e136821c
Generated UnassignedTextTestLanguage
2016-07-12 13:49:08 +02:00
Miro Spönemann
4fbacd1b51
Generated ReconstrTestLanguages
2016-07-12 13:39:58 +02:00
Miro Spönemann
c385e0e63b
Generated CommentAssociationTestLanguage
2016-07-12 13:15:59 +02:00
Miro Spönemann
3fadeea82a
Generated FormatterTestLanguages, removed ElementMatcherTestLanguage
2016-07-12 13:00:07 +02:00
Miro Spönemann
f2562915cb
Generated UnorderedGroupsTestLanguages
2016-07-12 12:12:29 +02:00
Miro Spönemann
1590bbac0d
Generated TerminalrulesTestLanguages
2016-07-12 11:56:30 +02:00
Miro Spönemann
52db47c2dd
Generated ParametersTestLanguages
2016-07-12 11:53:15 +02:00
Miro Spönemann
5465c5b41c
Generated IndentationTestLanguages
2016-07-12 11:49:33 +02:00
Miro Spönemann
35dc492128
Generated FragmentTestLanguages
2016-07-12 11:45:13 +02:00
Miro Spönemann
0094d5414e
Generated AssignmentsTestLanguage
2016-07-12 11:31:01 +02:00
Miro Spönemann
da053f60bb
Removed TestLanguagesFragmentsEx.mwe2
2016-07-12 11:26:26 +02:00
Miro Spönemann
35708f0be9
Generated AntlrParserTestLanguages
2016-07-12 11:03:05 +02:00
Miro Spönemann
f8a5549995
Generated MetamodelReferencing
2016-07-12 10:32:39 +02:00
Christian Dietrich
88894d23b8
reactivated src/org/eclipse/xtext/mwe/UriBasedReaderTest.java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-12 10:29:50 +02:00
Miro Spönemann
02254f86bc
Moved generator related sources to new source folder
2016-07-12 09:23:24 +02:00
Christian Dietrich
b0d0d33bde
#32 fixed bug in FragmentFakingEcoreResource
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-11 18:55:20 +02:00
Miro Spönemann
ae079352a8
Generated LinkingTestLanguages
2016-07-11 17:55:57 +02:00
Miro Spönemann
f301aa119c
Made scoping fragment extensible to support import URI
2016-07-11 17:52:59 +02:00
Miro Spönemann
29bae68924
Generated BacktrackingLexerTestLanguage and IgnoreCaseLexerTestLanguage
2016-07-11 17:08:14 +02:00
Miro Spönemann
c7153a7c3e
Generated InheritanceLanguages
2016-07-11 13:31:26 +02:00
Miro Spönemann
dc831d597e
Generated meta models
2016-07-11 12:57:09 +02:00
Miro Spönemann
e9215fc006
Generated GrammarAccessTestLanguage
2016-07-11 12:55:50 +02:00
Miro Spönemann
20a531f1ae
Generated FormatterTestLanguages
2016-07-11 12:06:41 +02:00
Miro Spönemann
8badcdcafb
Generated SubTestLanguage
2016-07-11 11:53:06 +02:00
Lorenzo Bettini
3275b75302
30: updated CliWizardIntegrationTest expectations
...
Task-Url: https://github.com/eclipse/xtext-core/issues/30
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-07-11 11:26:33 +02:00
Miro Spönemann
441afdfd6b
Generated EnumRuleTestLanguage
2016-07-08 16:05:59 +02:00
Miro Spönemann
8468d39ed2
Migrated workflows to new generator
2016-07-08 15:55:22 +02:00
Miro Spönemann
e80ec81fd7
Updated manifests and launch configs, added filter for parent subfolders
2016-07-08 11:36:31 +02:00
Miro Spönemann
d2386a89b5
Packaging the test source set for tests projects
2016-07-08 11:09:00 +02:00
Christian Dietrich
404f8009c3
fixed packaging of genmodels
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-08 10:11:07 +02:00
Christian Dietrich
9e9c6df4aa
fixed packaging of tests project
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-08 09:42:55 +02:00
Miro Spönemann
2b46d0e51f
Replaced 'mwe2' configuration with 'mwe2' source set for more flexible dependency setup
2016-07-07 14:49:07 +02:00
Sven Efftinge
eb2a0b6d0f
removed bogus .gitignore
2016-07-07 14:17:41 +02:00
Miro Spönemann
950eb8ae74
Removed old Gradle integration prefs
2016-07-07 11:22:13 +02:00
Miro Spönemann
decf9b22aa
Checked in project metadata based on Buildship
2016-07-07 10:19:04 +02:00
Miro Spönemann
b148945f6c
Some build file cleanup
2016-07-07 10:09:01 +02:00
Miro Spönemann
3c6725c105
Removed project meta data
2016-07-07 10:09:01 +02:00
Christian Dietrich
c62496571d
https://github.com/eclipse/xtext/issues/1058 excluded testsuites from junit test run
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-27 18:48:31 +02:00
Christian Dietrich
71c37e567f
fixed typo
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-24 07:52:03 +02:00
Christian Dietrich
f8e2ceabc2
fixed typo Errorneous Erroneous
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-23 09:18:19 +02:00
Sven Efftinge
517f471423
[gradle] disable xtext generator, fixed wrong groovy string
2016-06-21 12:03:37 +02:00
Sven Efftinge
21423cc18c
[ide] added IdeModule and IdeSetup - fixed #11
2016-06-21 11:54:54 +02:00
Sven Efftinge
ae59ba21cb
[gradle] updated gradle config and metadata
...
added mwe2 dependencies
commented out bad dependencies in mwe2 files (they are still not running)
2016-06-21 11:12:12 +02:00
Christian Dietrich
7544cc3842
added missing xtend-gen file
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-18 20:08:08 +02:00
Christian Dietrich
b023e52507
added org.eclipse.xtext.tests/src/org/eclipse/xtext/xtext/ecoreInference/Xtext2EcoreTransformerTest.xtend
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-06-18 11:18:47 +02:00
Moritz Eysholdt
a23adf2b3d
fixed tests
2016-06-17 18:31:25 +02:00
Moritz Eysholdt
3c45943ca2
removed tests that should not be in xtext-core
2016-06-17 18:27:33 +02:00
Moritz Eysholdt
afdd548598
organized imports
2016-06-17 18:26:10 +02:00
Moritz Eysholdt
9e0a31aec5
added generated files
2016-06-17 17:59:39 +02:00
Miro Spönemann
4270986cba
Moved projects to root of repository
2016-06-14 08:30:25 +02:00