Commit Graph

2710 Commits

Author SHA1 Message Date
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
Natalia.Ukhorskaya 6e3346c019 Android module: revert 20e936f8f6 2012-07-05 19:45:11 +04:00
Natalia.Ukhorskaya 20e936f8f6 Android module: Try to fix bug with incorrect path to ini file on Windows 2012-07-05 17:27:44 +04:00
Alex Tkachman ea249e436a Merge remote branch 'origin/master' 2012-07-05 15:49:47 +03:00
Alex Tkachman b989c701e9 patch from audalov for KT-1959 2012-07-05 15:49:24 +03:00
Pavel V. Talanov 6354d1bae0 Custom equals operator (includes little patch to frontend)
#KT-2354 fixed
2012-07-05 16:25:33 +04:00
James Strachan 54c8382813 added more descriptive logging 2012-07-05 11:02:54 +01:00
Natalia.Ukhorskaya 754148b2b2 Android module: correct paths for android tools for unix 2012-07-05 13:48:23 +04:00
Natalia.Ukhorskaya e50abd67c5 Android module: create emulator in tmp folder, catch exceptions during stopping emulator 2012-07-05 13:09:14 +04:00
James Strachan 2090b422c0 added compiler scope to the exception thats thrown 2012-07-05 08:52:19 +01:00
James Strachan 98f6650236 added a (currently disabled) test case for compiling the JS code from the kotlin-js-library maven build 2012-07-04 22:03:08 +01:00
James Strachan 85782179c6 added extra diagnostics on assertions so its clear which bit of code caused the problem 2012-07-04 22:02:09 +01:00
Pavel V. Talanov 92231d2eae Merge remote-tracking branch 'origin/master'
Conflicts:
	js/js.tests/test/org/jetbrains/k2js/test/SingleFileTranslationTest.java
	js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibTestToJSTest.java
2012-07-04 18:32:24 +04:00
Alexander Udalov b2defb2cb4 KT-2317 Wrong UNNECESSARY_SAFE_CALL
#KT-2317 Fixed
2012-07-04 15:39:58 +04:00
Pavel V. Talanov 9f4a48bb1c Remove some strange code from StaticContext. Also use Collection<JetFile> instead of List<JetFile> in some APIs 2012-07-04 12:42:46 +04:00
Pavel V. Talanov dd43f6b699 Deal with absence of js library. fix K2JSMessagingTest 2012-07-03 17:58:58 +04:00
Natalia.Ukhorskaya f51e893bb5 Add android-tests module.
Add run configuration for tests on android.
2012-07-03 17:47:00 +04:00
Natalia.Ukhorskaya 2a4ca8d7bf Make Printer constructor public 2012-07-03 17:46:25 +04:00
Pavel V. Talanov d6ffb42497 pull https://github.com/develar/kotlin ecma5-iter3 Make most of the tests work.
Thanks to develar.
2012-07-03 15:27:37 +04:00
Evgeny Gerashchenko a8aee841c9 Temporarily added external annotations for ArrayList.clone() method and updated test data. Alternative signature annotations should be parsed for overridden methods, too. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko 77df57c150 Replaced jdk-headers with jdk-annotations everywhere. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko 53cdbe486d Using valid member scope in descriptors created from alternative signatures. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 9dec15d2b1 Using references to new type parameter descriptors in types when replacing signatures using alternative annotations. 2012-07-03 13:35:53 +04:00