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
Alexander Udalov
51e9675138
Include different runtime into plugin for bootstrap build
2014-12-29 18:19:18 +03:00
Alexander Udalov
ef1fef65c2
Minor, rename module to conform to naming style
2014-12-29 18:19:17 +03:00
Alexander Udalov
7de9a3f029
Load compiler dependencies in a separate class loader in IDE compiler runner
...
To be able to invoke the intermediate compiler built on the first step of
bootstrap: in contrast to the distributed compiler, it's incompatible with the
runtime produced by itself and should instead be run with the runtime in the
classpath which was used to compile it.
Drop the non-preloader mode of running compiler, because it would require using
a special parent-last class loader with exceptions specified by ClassCondition
2014-12-29 18:19:13 +03:00
Alexander Udalov
45c6d486fc
Refactor CompilerRunnerUtil
...
Eliminate code duplication, add NotNull, make everything private, etc
2014-12-29 18:17:22 +03:00
Alexander Udalov
b8328f9190
Rename MessageRenderer constants
2014-12-29 18:17:21 +03:00
Alexander Udalov
a30a3f1926
Rework bootstrapping compiler with runtime in build.xml
...
Do not pack the runtime into the compiler on the first step of bootstrap, but
rather leave it as a separate file named kotlin-runtime-internal-bootstrap.jar.
This new solution will allow compiler to use its own classes from "core", not
the ones used by the runtime it depends on
2014-12-29 18:17:21 +03:00
Alexander Udalov
ffbae46e3c
Compile kotlin-runtime-minimal.jar, run proguard against it
...
ProGuard complains if we're trying to shrink compiler with the full runtime in
dependencies because for the compiler produced on the first step of bootstrap
these two jars contain conflicting classes. This won't matter in the final
distribution because we will strip 'core' modules from compiler.jar. But this
matters in the first step because core will be different in the compiler (used
to load compiled class files) and in the reflection (used to introspect symbols
at runtime).
kotlin-runtime-minimal.jar still contains the complete reflection API and some
stub implementations in module 'reflection.stub.jvm', but doesn't have core, so
it won't cause a proguard error
2014-12-29 18:17:10 +03:00