Ilya Gorbunov
ed3c54dbd0
Include new type aliases into mock runtime.
2016-11-16 18:47:42 +03:00
Alexey Andreev
5ef8879aae
JS: fixes after code review
2016-11-11 16:26:39 +03:00
Alexey Andreev
a452260da6
JS: simplify merging kotlin.js
2016-11-11 16:26:38 +03:00
Alexey Andreev
f244bbaae3
JS: change how declarations are exported from modules. Change how parts of kotlin.js merged
2016-11-11 16:26:36 +03:00
Alexey Andreev
e13d34e08d
JS: rewrite stdlib to compile with new flat structure
2016-11-11 16:26:31 +03:00
Alexander Udalov
f9a48857f5
Add IR sources to kotlin-compiler-sources.jar
2016-10-31 11:27:04 +03:00
Alexander Udalov
e0989caf46
Load built-ins from module dependencies in JVM compiler
...
Introduce a new method KotlinClassFinder#findBuiltInsData, which is only
implemented correctly in the JvmCliVirtualFileFinder because it's only used in
the compiler code at the moment.
Introduce JvmBuiltInsPackageFragmentProvider, the purpose of which is to look
for .kotlin_builtins files in the classpath and provide definitions of
built-ins from those files.
Also exclude script.runtime from compilation because, as other excluded
modules, it has no dependency on the stdlib and is no longer compilable from
the IDE now, because it cannot resolve built-ins from anywhere
2016-10-26 16:31:09 +03:00
Michael Bogdanov
99e7df7035
Remove duplicated line from build.xml
2016-10-18 09:09:33 +03:00
Michael Bogdanov
0838b28e10
Add IR modules to build.xml
2016-10-18 09:09:22 +03:00
Zalim Bashorov
0a0a05d211
Add tasks to download node.js (platform independently) and tasks to publish packages to npm; extract some common things to common.xml
2016-10-13 23:22:36 +03:00
Ilya Chernikov
846797ff61
Switch to templates in the separate script runtime
2016-10-12 15:38:52 +02:00
Ilya Chernikov
079fece9b4
Add daemon client jar to libraries project
2016-10-12 15:37:52 +02:00
Ilya Chernikov
5e5ebaa68b
Create a script runtime jar with a copy of standard script template (renamed)
2016-10-10 11:24:53 +02:00
Alexander Udalov
8ccc168b87
Include output of module daemon-common to compiler jar in compiler-quick
...
This fixes CompilerDaemonTest with the compiler built by "ant compiler-quick"
2016-10-06 14:40:21 +03:00
Alexander Udalov
a1584377bf
Do not pack IDEA core libraries into one idea-core-all.jar in pack-compiler
...
This is no longer needed because there's no more jsr166e.jar in IDEA core
libraries, which was the reason for the original change.
This reverts commit 9a762e0fa2 .
2016-10-06 14:40:21 +03:00
Ilya Gorbunov
ea82c20692
Remove js implementations of java.util maps and sets, disable intrinsic to select specialized implementations.
...
#KT-12386
2016-09-24 07:08:21 +03:00
Mikhail Zarechenskiy
0792571256
Include default script template into mock-runtime
2016-09-20 11:29:10 +03:00
Yan Zhulanow
a9de8ec89b
Kapt: compile annotation-processing artifact with target "1.6"
...
(cherry picked from commit 1391e59)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
407af3a0e5
Kapt: Gradle plugin for the new kapt
...
(cherry picked from commit f4fc8f1)
2016-08-29 16:31:16 +03:00
Ilya Gorbunov
7579111df1
Include exception typealiases into mock runtime.
2016-08-17 12:40:50 +03:00
Alexander Udalov
0d26087040
CLI, Ant: add kotlin-reflect.jar to classpath by default, support "-no-reflect"
...
Note that now "-no-stdlib" implies "-no-reflect".
#KT-13237 Fixed
2016-08-09 11:24:24 +03:00
Alexander Udalov
4c8e8b099a
Update protobuf from 2.5.0 to 2.6.1
2016-06-27 20:14:00 +03:00
Alexey Andreev
2d994c1a03
KT-3008 Run Google closure compiler in a separate JVM
2016-06-27 15:33:27 +03:00
Alexey Andreev
64cd0b70d7
KT-3008 Minor refactoring and clean up
2016-06-27 15:33:27 +03:00
Alexey Andreev
0cfacfa44a
KT-3008 Merge JS runtime modules in one kotlin.js
2016-06-27 15:33:25 +03:00
Alexey Andreev
848d7f92fa
KT-3008 Implement AMD, CommonJS and UMD wrappers. Compile stdlib and builtins modules into separate JS files and wrap them in UMD.
2016-06-27 15:33:24 +03:00
Alexey Andreev
95b78e18df
KT-3008 Change the way how modules are referenced in JS
2016-06-27 15:33:23 +03:00
Alexander Udalov
7e38b93d80
Use protobuf with renamed packages, pack to IDEA plugin
...
Update GenerateProtoBuf.kt to also regexp-replace com.google.protobuf with
org.jetbrains.kotlin.protobuf in generated Java sources
#KT-12581 Fixed
2016-06-14 14:17:22 +03:00
Alexander Udalov
3469e980cb
Minor, remove 'depends' from kotlin-build-common-test Ant task
...
Similarly to other targets in build.xml, this simplifies manual partial
compilation of artifacts
2016-06-09 15:54:49 +03:00
Alexey Tsvetkov
5161b6bfe0
Shade in kotlin-build-common-test
2016-06-07 14:42:42 +03:00
Alexander Udalov
9bdf8f1082
Minor, update javac2 annotation filter for kotlin-build-common-test
2016-05-26 22:15:39 +03:00
Alexander Udalov
9a762e0fa2
Prevent META-INF/INDEX.LIST from jsr166e.jar to be packed into compiler
...
INDEX.LIST contains a list of jars with the information about what packages
does each of those jars have (this feature is called JarIndex, see
http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html ). In case of
ideaSDK/core/jsr166e.jar, it only has one entry -- jsr166e.jar itself. When the
compiler is started, the class loading mechanism reads this file and assumes
that there are no other jars nearby. But the compiler depends on other jars,
namely kotlin-runtime.jar and kotlin-reflect.jar, thus we get
ClassNotFoundException when trying to load almost any Kotlin bytecode from
kotlin-compiler.jar.
Note that, fortunately, release builds are not affected because:
1) proguard helpfully strips this file from the final kotlin-compiler.jar;
2) we use a custom class loader (Preloader) which ignores JarIndex.
This only affects local setup with proguard disabled, where one test
(CompilerDaemonTest) was failing because it was trying to invoke the compiler
directly via "java -jar ..."
To implement this, it was necessary to exclude this one file from the compiler
jar, however the "zipgroupfileset" Ant task does not support exclusion of one
file from a particular archive, so we pack all idea core libraries into one jar
beforehand and use "zipfileset" which supports exclusion of one file
(http://stackoverflow.com/a/2426245/288456 ).
(cherry picked from commit c3f1afee626502470dbe27a1343c777e5cade789)
2016-05-26 14:14:41 +03:00
Nikolay Krasko
4e0d4681ed
Remove kotlin-for-upsource target. Upsource doesn't use this artifact anymore.
2016-05-20 15:51:54 +03:00
Alexander Udalov
07c229e94b
Exclude InlineOnly from kotlin-test
...
It's already present in kotlin-stdlib and that causes
com.android.dex.DexException
#KT-11505 Fixed
2016-04-15 11:33:23 +03:00
Alexander Udalov
37d612d346
Update cli-parser 1.1.1 -> 1.1.2
2016-04-12 20:03:51 +03:00
Dmitry Petrov
d30ab50532
KT-11410: Build stdlib with new part/facade inheritance scheme.
2016-04-01 10:13:22 +03:00
Ilya Gorbunov
25abdf9fdb
Tests for declaration mappings dumping from compiler
2016-03-29 13:49:36 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Natalia Ukhorskaya
7e6fa8ef17
Refactoring: rename android-compiler-plugin to android-extensions-compiler
2016-03-15 20:25:45 +03:00
Alexey Tsvetkov
7a7562d685
Build incremental testing utils to kotlin-build-common-test.jar
...
KT-8487
2016-03-03 16:45:19 +03:00
Alexander Udalov
4779e3e9cf
Drop traces of old annotations from kotlin.jvm.internal
2016-03-02 19:01:04 +03:00
Stanislav Erokhin
5bb1f3b2ea
Create resolution module.
2016-02-26 00:39:37 +03:00
Nikolay Krasko
edb684fee0
Print kotlin compiler version in build script where withKotlin tag is used
2016-02-25 18:49:53 +03:00
Nikolay Krasko
d8ba52e582
Print kotlin compiler version in build script
2016-02-11 02:52:01 +03:00
Ilya Gorbunov
8a00db5661
Include internal annotatations in mock runtime
2016-02-01 22:09:16 +03:00
Alexander Udalov
7e17482698
Delete kotlin-jdk-annotations and kotlin-android-sdk-annotations
...
They were empty anyway for a long time
2016-01-28 21:48:16 +03:00
Zalim Bashorov
aebf681809
Rename module "build" -> "build-common"
2016-01-26 14:32:21 +03:00
Stanislav Erokhin
d7438d9f2b
Add mock runtime to diagnostic tests.
...
Mock runtime contains function from file Standard.kt
2016-01-25 19:13:30 +03:00
Ilya Gorbunov
9a41e07ac0
Use IDEA 143.1960 built with master kotlin branch.
...
Remove tweaks required to bootstrap packages.
Restore non-star imports of kotlin.text.Charsets.
2016-01-22 22:06:22 +03:00
Denis Zharkov
6c0cd70a22
Introduce PureReifiable annotation
...
It prevents reporting unsafe substitution warning on expressions
like 'arrayOf(arrayOf(""))'
2016-01-22 19:17:22 +03:00