Commit Graph

188 Commits

Author SHA1 Message Date
Zalim Bashorov df4850c22f BuildTools: added ant task for Kotlin2Js compiler. 2013-11-15 15:17:59 +04:00
Andrey Breslav 9723106d95 Add missing module to quick compiler build 2013-11-14 19:29:05 +04:00
Alexander Udalov d044fbb4f1 Add "-source 1.6" to javac to prevent numerous warnings on JDK 7 2013-11-14 19:11:21 +04:00
Zalim Bashorov 5dd4eb780e Extracted OutputFileFactory interface. 2013-11-08 18:14:20 +04:00
Natalia Ukhorskaya cc948d88cc Build j2k using kotlinc in build.xml 2013-11-08 12:12:06 +04:00
Pavel V. Talanov 44ffe2905d Build: compile j2k module with Kotlin 2013-10-29 21:03:34 +04:00
Erokhin Stanislav 35bc3cd587 Move ant from dependencies/ant -> dependencies/ant-1.7 2013-10-28 16:07:01 +04:00
Andrey Breslav 5175b8444f Build a special compiler jar for maven that contains the runtime as well 2013-10-14 14:42:26 +04:00
Andrey Breslav 6d840d4b48 Rename 2013-10-14 14:42:25 +04:00
Andrey Breslav 48052e99ae Bootstrap runtime used as an external dependency to the compiler 2013-10-14 14:42:25 +04:00
Andrey Breslav 135034ea86 Use <withKotlin/> instead of a separate task 2013-10-08 21:52:09 +04:00
Andrey Breslav cfc07c300f Build Kotlin sources with the bootstrap compiler 2013-10-08 21:52:09 +04:00
Zalim Bashorov 4f957eaf69 Extracted manifest values to manifest.properties file. 2013-10-04 19:21:25 +04:00
Erokhin Stanislav 2329c9cdfa Use javac2 compiler from Idea lib in ant build: generate @NotNull assertions 2013-09-30 16:02:44 +04:00
Andrey Breslav a4f29bacae Javac target JVM version explicitly specified
When compiling from command line on a machine with Java 7 installed you get class format errors when running on Java 6 later
2013-09-26 09:05:00 -07:00
Natalia.Ukhorskaya da17475ae6 Pack runtime sources to separate jar 2013-09-25 14:18:41 +04:00
Andrey Breslav 04101a91f3 Update to cli-parser 1.1.1 which supports fields inherited from superclasses 2013-09-24 06:58:38 -07:00
Andrey Breslav 1f340e3a7a Don't compile and run generators in build.xml 2013-09-24 06:45:26 -07: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 df875b892f Move generators sources to generators/src/ 2013-09-18 17:01:41 +04:00
Erokhin Stanislav 4c57d70be9 JS backend: remove ECMA 3, but several tests is broken.
Main reason: overload extention property:

Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +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 026d76ea42 Include META-INF/services in kotlin-compiler.jar
Otherwise services loaded with ServiceLoader wouldn't work in the standalone
compiler
2013-09-04 21:55:10 +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
Pavel V. Talanov 1161685fee Move builtin class sources(*.jet) under IDEA module (should be removed completely later)
Change marker filename which is used to find those sources via getResource
2013-08-23 17:39:10 +04:00
Andrey Breslav 1d7fd47a51 Compile/Jar serialization-related code in build.xml 2013-08-23 17:39:04 +04:00
Nikolay Krasko b4c7122528 Move built-in files out of source directory 2013-08-21 19:52:42 +04:00
Andrey Breslav 8230d7ed94 Update to IDEA 13 EAP - 130.1486 2013-08-07 20:41:09 +04:00
Andrey Breslav e3643fd222 Proguard does not print notes any more
There are too many notes in our logs, we never read them, and logs get very tedious to scroll through.
2013-08-05 18:37:46 +04:00
Zalim Bashorov b14a5f3ea1 Migrate to IDEA 130.1335 2013-07-26 21:33:08 +04:00
Maxim Shafirov f5a11960cd These two packages come from eawtstub.jar and automation.jar yet it doesn't make any sense to include those into kotlin compiler 2013-07-16 12:27:31 +04:00
Natalia.Ukhorskaya d9860876f5 Remove redundant clearDir in build.xml 2013-06-07 11:06:01 +04:00
Natalia.Ukhorskaya afa3ead160 Add kotlin annotations for android SDK 2013-06-07 11:05:57 +04:00
Evgeny Gerashchenko 3e5feeb436 Minor. Added comments. 2013-06-03 17:40:58 +04:00
Andrey Breslav a2b82095da Using the version of ASM that has debug information in it
No more need for extra ASM jars (analysis and util)
2013-05-21 13:56:34 +04:00
Andrey Breslav 3f73662260 Do not run generator on a quick dist
Everything is already compiled, so there's no point in generating sources
2013-04-29 17:59:52 +04:00
Andrey Breslav bbb661506a Preloader for command-line compiler 2013-04-26 14:33:18 +04:00
Andrey Breslav 3179f67bfc Tasks for quickly building kotlin-compiler.jar using the results of incremental compilation in the IDE 2013-04-26 14:32:55 +04:00
Alexey Sedunov 975c66b946 Add module with extended annotations (mutable, read-only) 2013-03-29 18:42:43 +04:00
Nikolay Krasko 3345ae8c96 Add vendor name and library version into manifest for JS stdlib 2013-03-14 15:27:06 +04:00
Leonid Shalupov 1c62818220 fix maven build if generate.javadoc is false 2013-02-22 18:07:06 +04:00
Leonid Shalupov 6daf41e66a git rid of jarjar 2013-02-22 17:57:59 +04:00
Andrey Breslav 4d0786a64c Build j2k against compiler jar 2013-02-13 14:22:54 +04:00
Leonid Shalupov 0a1303d118 build: no classes rename in jarjar
build: fixed proguard shrinking
2013-02-13 14:22:54 +04:00
Natalia.Ukhorskaya 4fa3909eaf Build jar for j2kConverter 2013-02-05 15:35:43 +04:00
Evgeny Gerashchenko 649cbb65c0 Reverted proguard in build. 2013-02-04 17:30:12 +04:00
Evgeny Gerashchenko c96c3c3d45 Removed resources jar from classpath. It is redundant. 2013-02-04 16:16:09 +04:00
Evgeny Gerashchenko 18d1d31042 Removed compiling builtins in ant script. 2013-01-29 22:55:09 +04:00