Commit Graph

72 Commits

Author SHA1 Message Date
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
Alexey Tsvetkov b1c005dccf JS parser: GWT parser copied 2014-12-15 19:16:18 +03:00
Alexander Udalov f08c9d9815 Rename module build-tools -> ant 2014-12-10 18:23:46 +03:00
Alexander Udalov 57d37a3860 Extract reflection implementation to module runtime.jvm 2014-11-11 18:35:40 +03:00
Nikolay Krasko 3a10416192 Rename module: ide-lazy-resolve -> ide-common 2014-10-31 00:39:45 +03:00
Natalia Ukhorskaya dd0642e0fc Add module for kotlin-android-plugin and optional dependency on android plugin 2014-10-07 12:15:50 +04:00
Zalim Bashorov 4816e391ff Minor in JS backend: moved js.inliner to "compiler/js" group and added descriptors to its dependencies. 2014-10-03 14:23:55 +04:00
Alexey Tsvetkov a26e77fd93 JS inline: new module 2014-10-03 14:23:47 +04:00
zarechenskiy 9fe42be7c4 Move part of lazy element resolver structure to new module ide-lazy-resolve
This new module will be used from Eclipse, it should not have any idea
specific logic that is applicable only for idea
2014-08-28 13:53:48 +04:00
Evgeny Gerashchenko 822f02e23a Introduced bare kotlin compiler plugin for IntelliJ IDEA developers. 2014-08-27 16:35:10 +04:00
Alexey Kudravtsev eb5f1a9953 checkers, annotators and dependencies moved to idea-analysis module 2014-08-13 13:27:12 +04:00
Pavel V. Talanov aa02388aa0 Merge j2k and j2k-tests modules 2014-08-12 21:13:45 +04:00
Alexey Kudravtsev 8f388c49c2 js.frontend new module 2014-08-07 08:51:10 +04:00
Alexander Udalov c7a7f31e82 Introduce module 'reflection', move KFunctionN to it
Metadata for KFunction classes is now longer serialized along with built-in
classes. This effectively means that it's no longer possible to find KFunction
classes via dependency on built-ins. There should be a kotlin-runtime library
in the specified classpath for reflection types to be resolvable.

A lot of tests were moved and changed, because tests on callable references
require stdlib in classpath from now on
2014-05-19 19:50:57 +04:00
Alexander Udalov b7746cbee7 Move module 'serialization' to core/ 2014-05-05 20:43:34 +04:00
Natalia Ukhorskaya 68397d9421 Add module eval4j 2014-04-23 18:09:27 +04:00
Nikolay Krasko b6a9772508 Configuration for Android Studio debug created 2014-03-06 20:03:15 +04:00
Alexander Udalov dc66561ca5 Create module 'builtins', move 'runtime' -> 'runtime.jvm'
'builtins' will be used for platform-independent core built-in definitions,
'runtime.jvm' for things that should be present at runtime in order for Kotlin
code to execute correctly on JVM

ProgressionUtil goes to 'builtins' right now because progression iterators
depend on it, but should be rewritten to Kotlin later
2014-01-27 18:33:47 +04:00
Erokhin Stanislav 93982265a6 Add js.dart-ast module & drop old lib 2014-01-27 17:28:49 +04:00
Alexander Udalov db9d0e381b Rework BuiltInsSerializer
BuiltInsSerializer will be distributed with Kotlin compiler from now on. This
will allow to serialize binary data of built-ins on 'ant dist', as opposed to
storing all *.kotlin_class files in the repository: ant dist will just invoke
this serializer from bootstrap-compiler.jar
2014-01-22 19:11:43 +04:00
Andrey Breslav 4ac7afbb9f Module annotations-ext removed. Annotations are moved to runtime 2013-11-21 20:47:48 +04:00
Zalim Bashorov 5dd4eb780e Extracted OutputFileFactory interface. 2013-11-08 18:14:20 +04:00
Alexander Udalov 5119afae52 Extract 'descriptors' module 2013-09-18 18:45:34 +04:00
Alexander Udalov 8e59e789dc Extract util.runtime module out of util
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.

Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Alexander Udalov fb5ab4c7c5 Move serialization.java module to core/
Remove unused dependency from frontend.java
2013-09-04 21:55:11 +04:00
Alexander Udalov 2b9225fdd4 Extract descriptor.loader.java module from frontend.java
Will be used in runtime to load reflected classes
2013-09-04 21:55:11 +04:00
Alexander Udalov 67ca7b78c4 Deserialize annotations on class members
Make 'Callable' message of descriptors.proto extensible, extend it in
java_descriptors.proto with a JVM signature of the member. This is needed in
order for annotation deserializer to find out which member in the compiled
bytecode corresponds to which descriptor in the hierarchy.

Create a new module 'serialization.java' containing everything related to
Java-specific serialization of descriptors.

Add an extension point to DescriptorSerializer, allowing to perform
platform-specific serialization on a callable
2013-08-23 17:39:18 +04:00
Andrey Breslav e85871861a New module for descriptor serialization code 2013-08-23 17:38:50 +04:00
Andrey Breslav 8ee5911a87 Module groups added 2013-08-14 19:22:29 +04:00
Andrey Breslav 90661e8706 Instrumenting interceptors module 2013-05-13 15:55:45 +04:00
Andrey Breslav bbb661506a Preloader for command-line compiler 2013-04-26 14:33:18 +04:00
Alexey Sedunov 6a7cd7c6e3 Add tests for mutability annotation support in type resolver 2013-03-29 18:42:47 +04:00
Natalia.Ukhorskaya 74ca357502 Add tests for jps plugin 2012-11-27 14:54:18 +04:00
Andrey Breslav f7a6c6f6fd JPS plugin stub 2012-11-13 13:46:12 +04:00
Evgeny Gerashchenko cdc96225d0 Introduced simplest GenerateTests. 2012-11-12 18:30:50 +04:00
Andrey Breslav 2584ba5246 Module script generation moved to a separate module
To be re-used by the external build later
2012-11-09 21:56:30 +04:00
Andrey Breslav 32745f1202 cli-common module extracted, to be used by the compiler-runner module 2012-11-09 21:56:29 +04:00
Natalia.Ukhorskaya f51e893bb5 Add android-tests module.
Add run configuration for tests on android.
2012-07-03 17:47:00 +04:00
Leonid Shalupov 22d601ffcb integration tests draft 2012-04-22 22:38:36 +04:00
Andrey Breslav 93fcd7d1f2 Dependency Injection: GUICE replaced by custom code generation 2012-03-13 19:44:35 +04:00
Andrey Breslav be2687e5d0 Rename the project to Kotlin (modules file fixed) 2012-03-06 19:12:54 +04:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00
Andrey Breslav 452d6f0b1e Fix the build: remove the testlib module from the project 2012-02-28 19:15:54 +04:00
pTalanov 8c2d20f303 Remove js.libraries from the project 2012-02-28 13:59:30 +04:00
pTalanov 3fc7e849de Reverting wrong changes 2012-02-27 19:15:28 +04:00
pTalanov 953c33a846 Project structure fixed 2012-02-27 19:07:59 +04:00
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00
Maxim Shafirov fccc991c19 Running JUnit tests, initial. 2012-02-16 20:21:46 +04:00
Maxim Shafirov 0ec6132798 Actors moved to other examples 2012-02-02 20:52:14 +04:00
Alex Tkachman fd3ae3923a actors example and related bug fixes 2012-02-02 11:15:26 +02:00