Commit Graph

6891 Commits

Author SHA1 Message Date
James Strachan 0ccc0de2fe add support for java.util.Date for both JVM and JS back ends (we could maybe introduce a kotlin.Date pseudo type one day) 2012-07-25 02:57:53 +01:00
Andrey Breslav 29bc36b69c Merge pull request #109 from udalov/kt2438
KT-2438 Prohibit inner classes with the same name
2012-07-24 07:51:35 -07:00
Andrey Breslav 0b6166a738 Merge pull request #111 from udalov/injectors-crlf
Fix line endings in dependency injector generator
2012-07-24 07:36:07 -07:00
Alexander Udalov 7e38c0f70d Fix line endings in dependency injector generator
Copyright text should be printed as is, without
translating line endings to LF. This prevents
injectors from having mixed endings on Windows
with core.autocrlf=true
2012-07-24 18:23:18 +04:00
Alexander Udalov 4712dd759c KT-2438 Prohibit inner classes with the same name
Rewrite checkClassObjectInnerClassNames() to also
check for name clashes between inner classes of a
single class
 #KT-2438 Fixed
2012-07-24 16:25:17 +04:00
Pavel V. Talanov b216bbb844 KT-619 Type inference fails
#KT-619 Fixed
2012-07-24 15:53:39 +04:00
James Strachan 6fd3cd0bf0 added support for java.io.Closeable as a standard interface 2012-07-24 11:28:19 +01:00
James Strachan b25c27bfed added first cut of the DOM events API (its not all compiling to JS yet though due to Class<T> not being supported) 2012-07-24 11:10:50 +01:00
Nikolay Krasko a3cbd37e5f An attempt to to increase idea responsibility
#KT-2494 In Progress
2012-07-24 12:59:26 +04:00
Evgeny Gerashchenko 7bf32e238b Added workaround for backend bug to fix kdoc generator. 2012-07-24 12:52:46 +04:00
Alex Tkachman f3fa19e35d private constructors added 2012-07-24 10:59:28 +03:00
Alex Tkachman a18daaee6d Merge pull request #110 from evgeny-goldin/master
Added "META-INF/build.txt" to Kotlin archives so that Kotlin build number becomes visible in Maven artifacts.
2012-07-23 23:47:13 -07:00
Evgeny Goldin 9eab2c92c8 Added META-INF/build.txt to Kotlin archives so that build number becomes visible in Maven artifacts as well 2012-07-23 20:42:01 +02:00
Alex Tkachman 97abf9ee85 Merge pull request #108 from udalov/kt2423
KT-2423 Jump after condition check in inner loop is to the wrong label
2012-07-23 09:59:14 -07:00
Alexander Udalov 6eb4cf5aa5 KT-2423 Jump after condition check in inner loop is to the wrong label
#KT-2423 Fixed
2012-07-23 20:11:27 +04:00
Evgeny Gerashchenko f9b0223ab6 Using kotlin-jdk-annotations.jar from valid location in kotlin-maven-plugin. 2012-07-23 20:06:40 +04:00
Evgeny Gerashchenko 2eb16d2f26 Added private constructor. 2012-07-23 20:06:40 +04:00
Pavel V. Talanov 7de982ba2f Fix for converting negative floating point to integer values. 2012-07-23 19:50:47 +04:00
Pavel V. Talanov 3ce9022f6b KT-2342: Type mismatch on Int division.
# KT-2342 Fixed
2012-07-23 19:50:47 +04:00
Andrey Breslav 69e1b8d407 More test data for LR 2012-07-23 19:38:27 +04:00
Andrey Breslav 5c94c5988f Unnecessary code removed 2012-07-23 19:38:27 +04:00
Andrey Breslav 05ad042710 LR: Newly supported test data 2012-07-23 19:38:27 +04:00
Andrey Breslav 1eefbd4c75 Test data updated in accrdance with recent logic chnages in OverrideResolver 2012-07-23 19:38:26 +04:00
Evgeny Gerashchenko 45672cf7e2 Added workaround to KT-2493 to get maven build back to life. 2012-07-23 19:21:43 +04:00
Evgeny Gerashchenko 3af9540702 Fixed compilation of kdoc. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko e76aeb43a8 Removed unnecessary XML escaping. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko 6736e3d6d6 Optimized imports in kdoc project. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko aea01d9638 Replaced non-ASCII symbol to fix compilation. 2012-07-23 18:39:28 +04:00
Evgeny Gerashchenko 0c4e23e438 Added assertion in JetCoreEnvironment.addToClasspath() prohibiting to invoke it when environment is initialized. 2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko 7f12dcbc24 Got rid of post-init adding classpath in all tests. 2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko 044b6bf435 Removed unused methods. 2012-07-23 17:38:20 +04:00
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 1f7db5fb03 Added copy method to CompilerConfiguration. 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 ea6c4116df Passing sources via compiler configuration in BytecodeCompiler. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko 8f4b7444f7 Passing sources via compiler configuration in TestlibTest. 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 8aee0e0543 Adding source roots right after JetCoreEnvironment creation. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko 5414240fa6 Added comments for ConfigurationKind enum constants. 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