Andrey Breslav
1f95636bdf
Injectors regenerated
2012-07-09 13:39:03 +04:00
Andrey Breslav
af882cbd51
Dependency injection frameworks improvements
...
* Injectors can now implement interfaces (this was the primary goal)
* Fields can have different types than getters
* Imports are more accurate and no duplicate imports are added
2012-07-09 13:39:03 +04:00
Pavel V. Talanov
3d58d1ec16
Explicit equals call on non nullable receiver
2012-07-09 13:09:47 +04:00
Pavel V. Talanov
3814384762
Isolate error reporting
...
Introduce ErrorReportingUtils
2012-07-09 13:09:44 +04:00
Pavel V. Talanov
1840602a46
Trying to run stdlib unit tests as part or js.tests: step 4 - Added tests for ListTest, GetOtElseTest, MapTest
...
Introduce JsUnitTestReporter, implement communication between rhino and junit
2012-07-09 12:40:15 +04:00
Pavel V. Talanov
0c2b8e95f2
Trying to run stdlib unit tests as part or js.tests: step 3 - use TestConfigFactory to provide information about JsTester
2012-07-09 12:40:14 +04:00
Pavel V. Talanov
1ccbf24172
Trying to run stdlib unit tests as part or js.tests: step 2
2012-07-09 12:40:13 +04:00
Pavel V. Talanov
ec7b0a1d3a
Trying to run stdlib unit tests as part or js.tests: first step
2012-07-09 12:40:12 +04:00
Pavel V. Talanov
5683ee456f
TestGenerator -> JSTestGenerator, extract single test generation functionality to a separate class
2012-07-09 12:40:12 +04:00
Evgeny Gerashchenko
040d2f8945
Changed "jdk headers" to "jdk annotations" in test and test data directories names.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
8050b96f27
Fixed code outside main project which was broken after refactoring.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
03f4ef4a09
Fixed expected output for CliTest.help.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
c74ccec0bf
Renamed CompilerSpecialMode to ConfigurationKind, gave enum constants more clear names.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
2c58989a47
Moved CompilerSpecialMode enum to compiler-tests, since it is now used only for creating test compiler configurations.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
97dfd74647
Replaced creating compiler configuration for useless "js" configuration with empty compiler configuration.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
90a7b17fd8
Creating empty compiler configuration in module script instead of default.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
a2765899b5
Removed obsolete -stdlib CLI parameter.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
b958886e23
Removed obsolete -jdkAnnotations CLI parameter.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
a02658b1a6
Removed obsolete -mode CLI parameter.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
531167bcee
Added -builtins CLI option. Using it instead of "-mode stdlib" to enable special frontend and backend modes.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
b65f5cf53f
Removed CompilerSpecialMode from JetCoreEnvironment.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
f7290d178b
Replaced passing compiler special mode to JetTypeMapper with special enum type. Enum type means if builtin types should be mapped to Java standard classes in generated bytecode.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
5becb4efb1
Passing "stubs" flag to K2JVMCompileEnvironmentConfiguration to avoid checking compiler special mode.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
aef2c372e1
Inlined the only usage of CompilerSpecialMode.isStubs().
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
6e7d08b478
Introduced BuiltinsScopeExtensionMode enum. Using it instead of CompilerSpecialMode to create JavaBridgeConfiguration.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
7191a0bdd1
Using JDK_HEADERS compiler mode instead of BUILTINS (it's not necessary) in ExtensionFunctionsTest.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
a0b636d561
Moved CompilerSpecialMode.includeXXX() methods into configuration generators to make it clear that they are used only during initialization.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
684d345dce
Removed CompilerDependencies class.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
6e82ab70bc
Got rid of using CompilerDependencies in JetCoreEnvironment. CompilerConfiguration is passed instead.
2012-07-07 23:07:17 +04:00
Evgeny Gerashchenko
044d489c15
Removed obsolete test.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
c833ca251f
Moved CompilerDependencies.findRtJar() method to PathUtil.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
701ddc6376
Got rid of actual using CompilerDependencies in ResolveDescriptorsFromExternalLibraries.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
8078c27c36
Got rid of actual using CompilerDependencies in CompilerEnvironmentUtil.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
590ab38e55
Got rid of actual using CompilerDependencies in REPL interpreter classes.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
60ecd1d394
Added -noStdlib/noJdk/noJdkAnnotations command line arguments where CLI is invoked.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
97e0ee4a29
Got rid of storing CompilerDependencies in JetCoreEnvironment (storing CompilerSpecialMode instead).
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
d9c645a57f
Got rid of dependency from InjectorForJavaSemanticServices on CompilerDependencies.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
27c13d8c45
Got rid of actual using compiler dependencies in some classes (using only mode). Affected classes: K2JVMCompiler, KotlinToJVMBytecodeCompiler, TestlibTest.
...
Got rid of actual using compiler dependencies in KotlinToJVMBytecodeCompiler.
Got rid of actual using compiler dependencies in TestlibTest.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
88ea4c760c
Added "noJdk", "noStdlib" and "noJdkAnnotations" compiler options. Marked "stdlib", "jdkAnnotations" and "mode" options as deprecated.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
4781d62dd2
Created CompilerConfiguration and classpath/annotations path keys.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
5a88d28154
Got rid of dependency on compiler dependencies in injector for TDA for JVM.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
5e50f1928b
Renamed PsiClassFinderForJvm -> PsiClassFinderImpl.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
d8f74db060
Removed CompilerDependencies from PsiClassFinderForJvm.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
e14a0168c5
Removed AltClassFinder, since alt-headers are removed.
2012-07-07 20:33:22 +04:00
Natalia.Ukhorskaya
9bc1d870e0
Android module: create emulator files under project root, not in tmp directory
2012-07-06 16:21:26 +04:00
Natalia.Ukhorskaya
123fdde7ff
Android module: print list of devices before start new emulator
2012-07-06 13:24:39 +04:00
Natalia.Ukhorskaya
4095cee2cd
Android module: fix incorrect command for stopping emulator
2012-07-06 13:03:29 +04:00
Natalia.Ukhorskaya
0ba9ddd6a9
Android module: add check for another running devices
2012-07-06 12:52:53 +04:00
James Strachan
96a7128a36
added test case for KT-2374
2012-07-06 08:34:35 +01:00
James Strachan
33ef414f01
added tests so we can easily run QUnit tests in headless mode inside a stand alone JUnit test without Selenium; with just Rhino. JsArrayTest works great in Rhino stand alone and in a browser; but not Selenium; not sure why yet...
2012-07-05 21:40:06 +01:00