Evgeny Gerashchenko
|
49680d9a9a
|
Removed unused method.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
4dc4b295d2
|
Made addSources and addExternalAnnotationsRoot method private in JetCoreEnvironment.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
0dffe7a85c
|
Creating environment each time when compiling modules.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
1d35cf2729
|
Storing CompilerConfiguration in JetCoreEnvironment.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
13e62f1222
|
Adding sources to configuration before JetCoreEnvironment creation for CLI. Except for module case, because it's pretty complex.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
ba2ca55848
|
Removed unused method.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
b8543bed22
|
Passing sources via compiler configuration on analyzing module script.
|
2012-07-23 17:38:19 +04:00 |
|
Evgeny Gerashchenko
|
f45494548f
|
Passing sources via compiler configuration in K2JSCompiler.
|
2012-07-23 17:38:18 +04:00 |
|
Evgeny Gerashchenko
|
abfc54d5ab
|
Removed unused KotlinToJVMBytecodeCompiler.compileText method and test for it.
|
2012-07-23 17:38:18 +04:00 |
|
Evgeny Gerashchenko
|
4609360bcc
|
Removed unused method.
|
2012-07-23 17:38:18 +04:00 |
|
Evgeny Gerashchenko
|
b771a61d30
|
Rewritten CompileTextTest so it doesn't add class path to already created configuration. Removed JetCoreEnvironment.addToClasspathFromClassLoader() method.
|
2012-07-23 17:38:18 +04:00 |
|
Evgeny Gerashchenko
|
916f34ea7e
|
Added parameter to JetCoreEnvironment.createCoreEnvironmentForJS.
|
2012-07-23 17:38:18 +04:00 |
|
Evgeny Gerashchenko
|
d8b0070f1e
|
Added SOURCE_ROOTS_KEY for compiler configuration.
|
2012-07-23 17:38:17 +04:00 |
|
Evgeny Gerashchenko
|
f43b617fd8
|
More neat adding JDK to configuration used for module script compilation.
|
2012-07-23 17:38:17 +04:00 |
|
Evgeny Gerashchenko
|
e54767e9a6
|
Removed unused methods.
|
2012-07-23 17:38:17 +04:00 |
|
Evgeny Gerashchenko
|
58ff66b46c
|
Eliminated JetCoreEnvironment.configure() method. Actual setting classpath/annotations path is performed in constructor instead.
|
2012-07-23 17:38:17 +04:00 |
|
Evgeny Gerashchenko
|
ffca0409d4
|
Changed types of JVM configuration keys from arrays to lists.
|
2012-07-23 17:38:17 +04:00 |
|
Evgeny Gerashchenko
|
8124e477ce
|
Renamed methods getUserData and putUserData to get and put, respectively.
|
2012-07-23 17:38:16 +04:00 |
|
Andrey Breslav
|
bc6c8e980e
|
Module scripts are compiled in an environment with JDK & Annotations
|
2012-07-20 19:29:46 +04:00 |
|
Andrey Breslav
|
15d469156a
|
Reverting command line reporting: it breaks tests
|
2012-07-14 12:15:30 +04:00 |
|
Andrey Breslav
|
95b93322b3
|
Report the command line that was passed if its format is wrong
|
2012-07-14 11:56:29 +04:00 |
|
Evgeny Gerashchenko
|
3bf8321e3c
|
Fixed evil bug in processing command-line args: classpath was added as annotations path.
|
2012-07-11 15:44:43 +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
|
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
|
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
|
c833ca251f
|
Moved CompilerDependencies.findRtJar() method to PathUtil.
|
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
|
97e0ee4a29
|
Got rid of storing CompilerDependencies in JetCoreEnvironment (storing CompilerSpecialMode instead).
|
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 |
|
James Strachan
|
54c8382813
|
added more descriptive logging
|
2012-07-05 11:02:54 +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 |
|
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 |
|
Pavel V. Talanov
|
dd43f6b699
|
Deal with absence of js library. fix K2JSMessagingTest
|
2012-07-03 17:58:58 +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
|
77df57c150
|
Replaced jdk-headers with jdk-annotations everywhere.
|
2012-07-03 13:36:58 +04:00 |
|