Commit graph

2058 commits

Author SHA1 Message Date
Sebastian Zarnekow
dc87ba8362 Disabled some irritating System.out statements 2011-07-23 16:08:28 +02:00
Sebastian Zarnekow
a2bf3ae015 [xtext][junit4] Moved XtextRunnerTest to new test bundle junit4.tests 2011-07-22 16:03:04 +02:00
Sebastian Benz
81f239ab49 Fixed: XtextRunner creates an injector before saving the global registries, which causes the registries to be overwritten when generated standalone setups are used.
Signed-off-by: Sebastian Zarnekow <Sebastian.Zarnekow@itemis.de>
2011-07-22 15:38:36 +02:00
Sebastian Zarnekow
c8e96a3ed5 [xtext] Fix: NPE in EcoreUtil2#getEReferenceFromExternalForm 2011-07-22 15:34:18 +02:00
Sebastian Zarnekow
ac57627787 [xtext][nodemodel] Fix: CCE in #findLeafNodeAtOffset
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=352777
2011-07-22 10:37:03 +02:00
Holger Schill
08e3778579 fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=352450 2011-07-19 16:26:33 +02:00
Sebastian Zarnekow
901d6349d7 [xtend][scoping] Regression: Imports for nested types should not collide with imports for enclosing type, e.g.
import java.util.Map
import java.util.Map$Entry

should allow to write

def fun(Map map, Entry e, Map$Entry e2) {}
2011-07-19 15:27:41 +02:00
Moritz Eysholdt
ff166fac1b regenerated test languages 2011-07-15 15:17:43 +02:00
Moritz Eysholdt
f16a65d404 Fixed bug 352162 - [sequencer][generator] Large EPackage don't have a Literals Class 2011-07-15 14:58:38 +02:00
Moritz Eysholdt
2fde7e09e3 [serializer] removed unused code from the GenericSemanitcSequencer 2011-07-15 14:58:38 +02:00
Moritz Eysholdt
339bacb194 [GrammarElementTitleSwitch] Don't name it clone() when it doesn't use
java.lang.Object.clone()
2011-07-14 16:11:45 +02:00
Moritz Eysholdt
edb1b09d02 [serializer] fixed typos 2011-07-14 15:47:26 +02:00
Moritz Eysholdt
d271a78fb3 [Serializer] updated SerializerTester to support partial serialization 2011-07-14 15:46:54 +02:00
Moritz Eysholdt
d771534a55 fixed 345565 - [serializer] partial model serialization does not work 2011-07-13 21:06:36 +02:00
Moritz Eysholdt
4e89163c59 [serializer] improved algorithm for ContextFinder 2011-07-13 21:06:36 +02:00
Moritz Eysholdt
b954a60611 [GrammarElementTitleSwitch] smaller bugfixes 2011-07-13 15:36:47 +02:00
Moritz Eysholdt
c58c580875 Use require-bundle for Xtext instead for package-import because of bug
351970 - Package org.eclipse.xtext.util is exported twice
2011-07-13 15:36:47 +02:00
Moritz Eysholdt
d9c4ac4be3 [serializer] improved error messages 2011-07-13 15:36:47 +02:00
Moritz Eysholdt
41c6747a2b [serializer] make SerializerTester available for JUnit 4 as well 2011-07-13 12:33:55 +02:00
Moritz Eysholdt
d38cfd924e regenerated test languages 2011-07-12 18:27:15 +02:00
Moritz Eysholdt
f6bf58cd61 [serializer] work on the context finder 2011-07-12 18:27:15 +02:00
Moritz Eysholdt
1299f0b176 [serializer] bugfix in the grammar constraint provider 2011-07-12 18:27:15 +02:00
Moritz Eysholdt
fb0bcf8b28 fixed bug 344399 - NodeModelUtils.compactDump causes NPE when there are parse errors 2011-07-12 14:28:26 +02:00
Moritz Eysholdt
b58c225d2b applied patch from bug 351759 - [Serializer] performance leak due to inefficient INodes navigation in NodeIterator (thx Wladimir) 2011-07-12 13:24:44 +02:00
Moritz Eysholdt
f84af19a22 explicitly set version constraint for org.junit to [3.0.0, 4.0.0). Otherwise it sometimes resolves to JUnit 4 which renders the tests non-executable for me. 2011-07-12 13:07:17 +02:00
Sven Efftinge
47ff2347eb integrated xtend2 and xbase doc into xtext.doc 2011-07-07 14:11:02 +02:00
Jan Koehnlein
9a76cd17e3 [validation] handle diagrnostic message == null
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350241
2011-07-07 13:14:55 +02:00
Jan Koehnlein
f7e4b6af6c [mwe] minor issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350796
2011-07-07 11:50:16 +02:00
Jan Koehnlein
6a855222f7 [tests] fixed guice version conflict 2011-07-04 14:33:18 +02:00
Sebastian Zarnekow
c838de4193 [xtext][tests] Added a new test case to proof some assumptions about the EcoreValueConverter 2011-06-22 11:21:03 +02:00
Michael Clay
569351dcb1 [xtext][ui] add missing null guard and test to prevent npe for enabled mark occurences
https://bugs.eclipse.org/bugs/show_bug.cgi?id=349626
2011-06-16 22:50:43 +02:00
Moritz Eysholdt
dba04aa466 [serializer/NfaToGrammar] improved the algorithm that decides which states to split. 2011-06-15 11:31:06 -07:00
Moritz Eysholdt
d29ce068a9 [serializer/NfaToGrammar] generalized the need to split states. 2011-06-15 11:07:18 -07:00
Moritz Eysholdt
f6ccf2fccb [serializer/NfaToGrammar] sequential alternatives were not detectet correctly. 2011-06-14 11:06:19 -07:00
Moritz Eysholdt
e0d6296999 [serializer] fixed some comments 2011-06-14 11:06:18 -07:00
Sebastian Zarnekow
e4e778ba59 [baseline] Updated baseline to 2.0 final, reset API filters 2011-06-14 15:15:23 +02:00
Sebastian Zarnekow
27677a6dd9 [xtext][validation] Fixed ClassCastException in validation
Enum rules in erroneous grammars may return an EClass instead of an EEnum
(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=348749)
2011-06-14 14:25:35 +02:00
Sebastian Zarnekow
91e5121eab [xtext][util] Iterators should throw a NoSuchElementException if #hasNext == false and #next is invoked 2011-06-14 14:25:34 +02:00
Dennis Huebner
2bbbdf71ed [releng] increment service version for all bundles and features 2011-06-14 12:33:00 +02:00
Dennis Huebner
72abb51719 [releng] fixed - about.html is missing in source bundle 2011-06-07 10:17:00 +02:00
Dennis Huebner
30f95cd0b7 Revert "[releng] excluded org.antlr from javadoc"
This reverts commit c9681cfb7f9d6baea775696a8d64fb8898755749.
2011-06-06 17:40:23 +02:00
Dennis Huebner
8178a04ea2 [releng] excluded org.antlr from javadoc 2011-06-06 17:22:18 +02:00
Moritz Eysholdt
723487f6a9 [serializer] removed invalid comments 2011-06-06 06:35:51 -07:00
Sven Efftinge
de3a12c947 ResourceDescriptionManagers should be singletons 2011-06-03 16:07:32 +02:00
Jan Koehnlein
63532812b0 added some javadocs 2011-06-03 16:03:55 +02:00
Moritz Eysholdt
f0664b1403 renamed util.logic to util.formallang 2011-06-01 11:29:47 +02:00
Sebastian Zarnekow
5ddc178d68 [xtext][findbugs] Fixed some issues that were revealed by findbugs in the code base 2011-05-31 19:51:39 +02:00
Moritz Eysholdt
9466706293 applied patch from bug 345281 - Indent auto-wrapped lines. 2011-05-31 18:54:16 +02:00
Moritz Eysholdt
6266474a39 [PdaUtil] uncommented an incomplete test 2011-05-31 18:21:47 +02:00
Moritz Eysholdt
89a40fd270 [serializer] removed an internal util 2011-05-31 17:58:11 +02:00