Commit Graph

19687 Commits

Author SHA1 Message Date
Alexander Udalov 366f0daaa8 Rename package jet -> kotlin in j2k
org.jetbrains.jet.j2k -> org.jetbrains.kotlin.j2k

Also update calls to deprecated functions: size -> size(), length -> length(),
withIndices() -> withIndex()
2015-01-03 04:16:24 +03:00
Alexander Udalov 3c859caf2b j2k: flatten test cases and testData directory structure
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
2015-01-03 00:52:59 +03:00
Alexander Udalov ed2f123b54 j2k: remove obsolete manifest 2015-01-03 00:24:51 +03:00
Alexander Udalov 7f90dc3934 Regenerate tests 2015-01-03 00:20:28 +03:00
Alexander Udalov eb2f34e6cf Fix codegen tests on Android, update SpecialFiles 2015-01-03 00:19:04 +03:00
Alexander Udalov 11ff051924 Regenerate built-ins, keywords, operations map 2015-01-03 00:19:03 +03:00
Alexander Udalov d5288b88fd Minor, fix double typo 2015-01-03 00:19:03 +03:00
Alexander Udalov fcbfc53dc8 Rename package jet -> kotlin in injectors
org.jetbrains.jet.di -> org.jetbrains.kotlin.di
2015-01-03 00:19:02 +03:00
Alexander Udalov 4f8e6c1dcc Rename package jet -> kotlin in generators
org.jetbrains.jet.generators -> org.jetbrains.kotlin.generators
2015-01-03 00:19:02 +03:00
Alexander Udalov 80997acba3 Minor, extract constant "org.jetbrains.jet.di" 2015-01-02 20:45:44 +03:00
Alexander Udalov 159a2dc585 Rename package jet -> kotlin in injector-generator
org.jetbrains.jet.di -> org.jetbrains.kotlin.generators.di
2015-01-02 20:45:44 +03:00
Alexander Udalov 77be31c149 Move injector-generator under generators 2015-01-02 20:45:43 +03:00
Alexander Udalov 60fcaf5a6e Rename package jet -> kotlin in android-tests
org.jetbrains.jet.compiler.android -> org.jetbrains.kotlin.android.tests
2015-01-02 20:45:43 +03:00
Alexander Udalov 53079fd3f7 Upgrade year in copyright to 2015 2015-01-02 19:23:40 +03:00
Alexander Udalov e58b8229be Assert kotlin-runtime.jar is present in tests 2015-01-02 18:38:19 +03:00
Nikolay Krasko 5a310237e7 Cache constructed scope for file. Don't recount it each time in additional function resolve. 2014-12-31 21:56:21 +03:00
Nikolay Krasko 31de60738a Temporary allow import 2014-12-31 21:56:20 +03:00
Nikolay Krasko e65c0d44bb Reuse JavaPsiFacadeImpl impl for package caching and search in dumb mode + Add filter for packages 2014-12-31 21:56:20 +03:00
Nikolay Krasko be008714fb Copy JavaPsiFacadeImpl version to modify it for Kotlin needs 2014-12-31 21:56:19 +03:00
Natalia Ukhorskaya 93d1dff181 Minor: make BaseGradleIT test abstract 2014-12-31 12:05:49 +03:00
Natalia Ukhorskaya 288b2e86ae Minor: rename 2014-12-31 12:05:48 +03:00
Natalia Ukhorskaya 4d48905ef1 Minor: fix warnings 2014-12-31 12:05:48 +03:00
Natalia Ukhorskaya 453c5752cb Minor: typo 2014-12-31 12:05:47 +03:00
Natalia Ukhorskaya dfa30a7bb1 kotlin-gradle-plugin: remove maven-invoker-plugin used for tests 2014-12-31 12:05:47 +03:00
Natalia Ukhorskaya 292f82b767 Remove kotlin-gradle-plugin-test module 2014-12-31 12:05:46 +03:00
Natalia Ukhorskaya 5fbf440e33 kotlin-gradle-plugin: manage dependencies correctly 2014-12-31 12:05:45 +03:00
Nikita Skvortsov 8cf5d92b57 minor cleanup 2014-12-31 12:05:45 +03:00
Nikita Skvortsov 111791fa10 Move tests from core 2014-12-31 12:05:44 +03:00
Nikita Skvortsov 2a75d3f52a fix tests 2014-12-31 12:05:44 +03:00
Nikita Skvortsov 6f26972c50 fix tests 2014-12-31 12:05:43 +03:00
Nikita Skvortsov f8c65e8a62 disconnect wrapper from core, delegate API calls using Gradle dynamic objects 2014-12-31 12:05:42 +03:00
Nikita Skvortsov 4e99a61aea fix compilation 2014-12-31 12:05:42 +03:00
Nikita Skvortsov 140bbe28fd move kotlin-gradle plugin classes from core to wrapper 2014-12-31 12:05:41 +03:00
Nikita Skvortsov e6d6281a3f move java cross-compile-related code to kotlin2jvm task 2014-12-31 12:05:41 +03:00
Zalim Bashorov 619854a7a3 JS frontend: additional check for nativeSetter -- check that the return type is either Unit or a supertype of the second parameter's type. 2014-12-30 19:10:38 +03:00
Zalim Bashorov 76bafb9634 Added spec about JavaScript interop. 2014-12-30 17:30:05 +03:00
Zalim Bashorov 9869ae10e5 JS frontend: allow to omit body for native functions and initializer for native properties. Additionally suppress UNUSED_PARAM for new nativeX annotations too. 2014-12-29 21:37:18 +03:00
Zalim Bashorov 41dff74037 resolve/*Diagnostics* -> resolve/diagnostics/*Diagnostics*
And remove unused TraceUtil.java
2014-12-29 21:37:18 +03:00
Alexander Udalov d4e90b5bc3 Regenerate tests 2014-12-29 19:32:10 +03:00
Alexander Udalov e9badcbcc7 Rename AsmTypeConstants -> AsmTypes 2014-12-29 19:32:10 +03:00
Alexander Udalov 6cd6704bcf Remove obsolete codegen test data 2014-12-29 19:32:09 +03:00
Zalim Bashorov 7668f44655 JS lib: added hasNext to Kotlin.ListIterator and fixed next.
#KT-6506 Fixed

Additionally made abstract AbstractList::get and AbstractCollection::size.
2014-12-29 19:15:32 +03:00
Alexander Udalov 480f990c1d Preloader: HashMap constructor takes capacity, not expected size 2014-12-29 18:19:24 +03:00
Alexander Udalov 8306ccd8ec Preloader: extract nested classes to top-level 2014-12-29 18:19:24 +03:00
Alexander Udalov 9273b0dfec Preloader: support loading classpath dependencies from manifest
Move this logic from ide-compiler-runner. This fixes running 'kotlinc' CLI
compiler locally when the runtime is changed binary incompatibly
2014-12-29 18:19:23 +03:00
Alexander Udalov 91f110acd4 Preloader: support many resources by given name 2014-12-29 18:19:22 +03:00
Alexander Udalov 0d671141d0 Don't store class loader in CompilerEnvironment
Modules jps-plugin and ide-compiler-runner are loaded by the same class loader
2014-12-29 18:19:21 +03:00
Alexander Udalov 5e261e344e Move ExitCode to cli-common, simplify KotlinCompilerRunner
- check exit code's toString instead of integer code: more readable and stable
  this way
- call newInstance() on arguments' classes instead of pointless constants
2014-12-29 18:19:20 +03:00
Alexander Udalov a14e0ac59e Simplify KotlinCompilerRunner and CompilerRunnerUtil 2014-12-29 18:19:19 +03:00
Alexander Udalov 9807643b0e Synchronize access to mutable class loader reference in CompilerRunnerUtil 2014-12-29 18:19:18 +03:00