Commit Graph

6527 Commits

Author SHA1 Message Date
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
Natalia.Ukhorskaya 6e3346c019 Android module: revert 20e936f8f6 2012-07-05 19:45:11 +04:00
James Strachan e9ed7b6d2a add more array based tests and JS compliant typesafe array constructor functions 2012-07-05 16:27:39 +01:00
James Strachan 4671e2b853 better diagnostics on failures 2012-07-05 16:27:14 +01:00
James Strachan b4dace2c29 added a native array() function for the JS generation; also refactored the code generated collection APIs so that most of them can be used with JavaScript and included more array based APIs into the JS generation 2012-07-05 15:49:10 +01:00
James Strachan bea649bf87 enabled the unit testing of a subset of the standard library JUnit test cases with the compiled JavaScript versions and running them in QUnit in a JUnit test case 2012-07-05 14:51:28 +01:00
James Strachan d8eaffa4e3 added neater messages if there's a failure 2012-07-05 14:50:40 +01: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
James Strachan 6863526d52 added test case for KT-2372 2012-07-05 14:16:20 +01:00
Pavel V. Talanov 3073af99db Revert changes pushed by mistake 2012-07-05 16:53:48 +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 39a8a90175 Use K2JSTranslator in StdLibTestBase, add copyright to ClassAliasingMap 2012-07-05 16:25:34 +04: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 88a38d9b5b added equals() and toString() methods for AbstractList 2012-07-05 13:07:04 +01:00
James Strachan 9711bc841e enabled the KDocTest again - was out of memory before 2012-07-05 12:55:34 +01:00
James Strachan af4cdb38df removed bogus test case for KT-2355 which isn't an issue any more 2012-07-05 12:07:36 +01:00
James Strachan 20da5c48ea got the mvn k2js plugin working again & re-enabled the js building in the mvn build (apart from running the junit JS tests as some of them fail) 2012-07-05 11:43:35 +01:00
James Strachan 9d64960720 enabled the Map tests as they seem to work fine again now 2012-07-05 11:04:31 +01:00
James Strachan dc4952c8b1 enabled the test cases and turned into a main() to avoid being run by default in unit tests (as we really need to do a maven build first) 2012-07-05 11:04:15 +01:00
James Strachan c166a38f22 switch QUnit to use the output from CompileMavenGeneratedJSLibrary 2012-07-05 11:03:36 +01: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
James Strachan 925e5b2236 refactored the JS kotlin code so that we've a simple naming convention (*Code.kt") to refer to library code which needs to generate JS code to separate those files from the pure definitions which just refer to existing JS code already - this will help make it easier to keep the maven build and the js test cases in sync 2012-07-05 10:34:00 +01:00