Alexander Udalov
91bb789758
Fix builtins-serializer source root in compiler sources jar
2015-04-14 12:56:50 +03:00
Alexander Udalov
5d5d1b759d
Minor, simplify jar inclusion in build.xml
2015-04-14 12:56:01 +03:00
Alexander Udalov
3a4659c074
Include resources/kotlinManifest.properties to kotlin-for-upsource.jar
2015-04-14 12:52:33 +03:00
Alexander Udalov
b2e0eda953
Include protobuf to kotlin-for-upsource.jar
2015-04-10 12:32:46 +03:00
Alexander Udalov
0a93cfc9c0
build.xml: drop 'generate.assertions' option
...
It was error-prone, not very useful (only a couple seconds saved on a 3min
build), and in fact did not work since 5194310d , because <skip> element was
failing inside the default javac
2015-03-30 20:20:46 +03:00
Alexander Udalov
32c3bb8c7f
Extract module 'deserialization' out of 'serialization'
...
'deserialization' stays in core because it's needed both in compiler and
reflection, but 'serialization' is used only in the compiler
2015-03-30 19:44:17 +03:00
Alexander Udalov
085bc2197b
Merge module 'serialization.jvm' into 'descriptor.loader.java'
...
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes
2015-03-30 17:22:06 +03:00
Alexander Udalov
30916e37ce
Move bootstrap runtime copying to 'prepare-dist' to fix dist-quick
2015-03-26 21:38:05 +03:00
Michael Nedzelsky
842eaa86a4
merge serialization.js module into js.serializer
2015-03-24 15:13:45 +03:00
Alexander Udalov
73f06baa90
Drop temporary bootstrapping hack
2015-03-23 12:20:45 +03:00
Yan Zhulanow
c945a53eec
Move AndroidPsiTreeChangePreprocessor to android-idea-plugin module
2015-03-18 17:51:58 +03:00
Michael Nedzelsky
e3bd99d510
JS: fix clash between sources and metadata in one library
2015-03-18 09:39:34 +03:00
Michael Nedzelsky
1a4a7f6715
build.xml: remove module name from js-stdlib manifest file
2015-03-18 09:39:00 +03:00
Michael Nedzelsky
a1ee616769
build.xml: create and archive meta information for js-stdlib
2015-03-18 09:38:58 +03:00
Michael Nedzelsky
711501af56
add new module js.serializer
2015-03-18 09:38:51 +03:00
Michael Nedzelsky
e0c0012a20
add serialization.js module
2015-03-18 09:38:47 +03:00
Alexander Udalov
444b461ba7
Run preloader in new-kotlinc, fix reflect->runtime class-path reference
2015-03-17 15:46:47 +03:00
Alexander Udalov
9d6f4e99a1
Move reflection interfaces to module 'builtins'
...
They are considered to be built-ins everywhere anyway
2015-03-16 20:29:39 +03:00
Yan Zhulanow
6b368e445a
Cache XML layout widgets using PsiTreeChangePreprocessor
2015-03-13 15:46:39 +03:00
Denis Zharkov
f632a90741
Fix compiler settings for android-compiler-plugin
...
It's necessary to use bootstrap-compiler and runtime but new compiler in classpath when increasing ABI.
For example ABI was X, then we increase it to X':
- It compiles in Bootstrap (B) build with compiler that knows
old ABI version, so compiled compiler (C1) will still have version X, but new
runtime's version is X' (R1).
So when we compile android-compiler-plugin each part has version X.
- Then project compiles by new compiler (C1)
(that class-files have ABI version X, but it knows about X') in main build.
Here compiled compiler (C2) will have X' version of class-files,
either has runtime (R1) compiled on previous stage.
On this step android-compiler-plugin will be compiled fine by C1 and with C2, R1.
2015-03-11 17:45:29 +03:00
Alexander Udalov
2b090e02a1
Build kotlin-reflect.jar in build.xml and for Maven
...
Reflection will be distributed in a separate jar and not in kotlin-runtime.jar
for two primary reasons:
- Reflection implementation at the moment takes almost 2Mb
- Separate libraries for separate features is a technique encouraged by Maven,
and it's inconvenient to make it different in the compiler distribution
2015-03-11 16:42:28 +03:00
Alexander Udalov
6fe483f0cf
build.xml: use absolute paths, extract some constants
2015-03-07 02:32:59 +03:00
Alexander Udalov
0bd5264b5e
Get rid of module reflection.stub.jvm
...
Generate K*Function as a supertype for a function reference instead of
K*FunctionImpl; this will allow one binary library to be used with or without
reflection
2015-03-07 02:31:26 +03:00
Alexey Tsvetkov
4efadb33fa
JS: switched ClosureCompiler to whitespace level
2015-03-06 21:36:18 +03:00
Michael Bogdanov
db987eedee
Fix android compiler plugin classpath
2015-03-03 17:05:17 +03:00
Yan Zhulanow
756d0a06d9
Remove obsolete "frontend.android" paths
2015-02-26 15:26:01 +03:00
Yan Zhulanow
328116cb1a
Fix android-compiler-plugin build
2015-02-26 15:25:59 +03:00
Yan Zhulanow
b897803f5b
Fix ProGuard rules for plugin-api
2015-02-26 15:25:58 +03:00
Yan Zhulanow
fbed5426e2
Kotlin Gradle subplugin support
2015-02-26 15:25:55 +03:00
Yan Zhulanow
755c16d6d2
Do not shrink org.jetbrains.kotlin package classes
2015-02-26 15:25:55 +03:00
Yan Zhulanow
a2032e60a7
Provide values using ServiceLoader instead of MANIFEST.MF
2015-02-26 15:25:44 +03:00
Yan Zhulanow
9b9d96df30
android-compiler-plugin Ant build task introduced
2015-02-26 15:25:42 +03:00
Mikhail Mutcianko
6371197041
add missing module and build dependencies
2015-02-26 15:25:20 +03:00
Mikhail Mutcianko
f5b9b155cd
fix ant build
...
- add frontend.android content to sources path
2015-02-26 15:25:18 +03:00
Alexander Udalov
98b554d995
Fix path to runtime when building kotlin-ant.jar
...
${kotlin-home}/lib/kotlin-runtime.jar is the newly built runtime, which is not
compiled yet when invoking a clean "ant dist"
2015-02-16 20:19:54 +03:00
Alexander Udalov
c3909ebbd7
Minor, update outdated comment
2015-02-16 20:19:46 +03:00
Zalim Bashorov
a851c406b4
Minor: specify maxmemory for new-kotlinc explicitly to avoid run VM with default values which sometimes leads to fail build.
2015-02-13 19:07:51 +03:00
Alexander Udalov
8d5a6d729e
build.xml: use preloader to serialize built-ins to improve performance
2015-02-02 16:46:53 +03:00
Alexander Udalov
5b70995ce1
build.xml: simplify new-kotlinc macro
...
- passing sources to "-classpath" is no longer needed because the logic was
implemented in K2JVMCompiler
- skipping javac2 for stdlib is no longer needed because the corresponding
error is no longer reproducible since "skip" was added to javac2
- get rid of unneeded properties in favor of Ant's toString feature
2015-02-02 16:46:49 +03:00
Alexander Udalov
5194310d6e
Use javac2 filter to disable NotNull instrumentation of Kotlin code
...
We skip all classes annotated with kotlin/jvm/internal/<anything> (currently
KotlinClass, KotlinPackage and KotlinSyntheticClass) because Kotlin compiler
emits its own nullability assertions
2015-01-21 16:17:50 +03:00
Alexander Udalov
6873e34a09
Drop org.jetbrains.jet exception in proguard
2015-01-13 01:15:16 +03:00
Alexander Udalov
7d496377c4
Remove bootstrap workarounds
2015-01-12 15:40:15 +03:00
Alexander Udalov
00878cc31a
Rename java -> jvm, jet -> kotlin in module serialization.java
...
org.jetbrains.jet.descriptors.serialization ->
org.jetbrains.kotlin.serialization.jvm
2015-01-09 14:27:13 +03:00
Alexander Udalov
8ca803775f
Rename package jet -> kotlin in cli, cli-common
...
org.jetbrains.jet.cli -> org.jetbrains.kotlin.cli
Also fix some minor warnings
2015-01-08 23:32:07 +03:00
Alexander Udalov
03e3969544
Rename package k2js -> kotlin.js in js.frontend
...
org.jetbrains.k2js -> org.jetbrains.kotlin.js
2015-01-05 05:10:33 +03:00
Alexander Udalov
1bf3ca2e26
Rename package jet -> kotlin in preloader and instrumentation
...
org.jetbrains.jet.preloading -> org.jetbrains.kotlin.preloading
2015-01-05 04:19:04 +03:00
Alexander Udalov
e73ffe76a0
Keep org.jetbrains.kotlin.** when shrinking compiler
2015-01-05 04:19:03 +03:00
Alexander Udalov
b1809f8d40
Rename module jet.as.java.psi -> light-classes
2015-01-03 12:38:41 +03:00
Alexander Udalov
be95a4fee7
Remove temporary bootstrap hack
2015-01-03 12:32:25 +03:00
Alexander Udalov
cd79c4573d
Ant task: use preloader instead of AntClassLoader
...
Speeds up AntTaskJvmTest by 50%
2015-01-03 12:08:12 +03:00