Commit Graph

75 Commits

Author SHA1 Message Date
Leonid Shalupov 4cd2ce81a9 pack compiler into one jar (without js yet) 2012-04-29 19:30:43 +04:00
pTalanov d0d5b147f2 Refactor cli: all the jvm stuff goes under org.jetbrains.jet.cli.jvm, common stuff under org.jetbrains.jet.cli.common 2012-04-25 20:19:15 +04:00
Leonid Shalupov 997023cc6e compilation 2012-04-14 19:06:23 +04:00
Leonid Shalupov ea4661a6a1 experimental kotlin-compiler-standalone.jar build 2012-04-14 18:37:15 +04:00
Andrey Breslav 9af209acdc Don't package examples 2012-04-11 18:31:06 +04:00
Stepan Koltsov ded26cda30 failOnError=true in generateInjector 2012-04-09 01:44:46 +04:00
Stepan Koltsov f16895ba65 new compiler mode: stdlib
include jdk-headers, do not include runtime
2012-04-08 02:08:27 +04:00
Stepan Koltsov 2c4094f4d4 proper environment when compiling special things
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
Maxim Shafirov 060be0a8f8 Refactor dependencies, so jet-as-java might be used in cli. 2012-03-29 21:18:35 +04:00
James Strachan beedd36456 refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment) 2012-03-29 16:37:36 +01:00
Evgeny Gerashchenko 7f71c09049 Added sources to Kotlin runtime. 2012-03-28 15:02:24 +04:00
Stepan Koltsov a3d033531f need to build builtins.jar before building jdk-headers and stdlib 2012-03-26 15:13:01 +04:00
Andrey Breslav dd9c36387c KT-987 Unboxing nulls
#KT-987 Fixed
2012-03-26 11:42:34 +04:00
Stepan Koltsov 7708b2d009 Work around missing jar
Somebody please fix it properly
2012-03-24 00:43:05 +04:00
Stepan Koltsov e201fb5ce5 compileTests in build.xml and command-line script to execute test 2012-03-19 14:57:07 +04:00
Maxim Shafirov 32264cd4a8 File name transforming is unnecessary and thus, removed. 2012-03-14 16:35:45 +04:00
Andrey Breslav 1dd4a2c463 Injector generation included into the build 2012-03-13 20:01:46 +04:00
James Strachan fb8269e6d1 removed old cruft from ant build 2012-03-13 15:03:10 +00:00
Stepan Koltsov 62221494e2 fix plugin build 2012-03-10 02:03:16 +04:00
Stepan Koltsov 997fbb60a3 using guice to wire TopDownAnalyzer beans
attempt 2
2012-03-10 00:54:16 +04:00
Andrey Breslav a94b77ffc9 Revert GUICE introduction 2012-03-07 12:58:37 +04:00
Stepan Koltsov 15e2741f06 ... fix build.xml too 2012-03-07 04:26:14 +04:00
Andrey Breslav 7a772a15d5 Paths fixed 2012-03-06 19:13:03 +04:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
James Strachan cfe4b7f736 added support for multiple source directories for generation of the kdoc, so we can include java & kunit etc 2012-03-03 06:35:33 +00:00
James Strachan 4274a4abac added a test module for apidoc generation 2012-03-03 06:35:32 +00:00
Stepan Koltsov 25ed7018a4 compile lang.jar
lang.jar is just compiled and nothing more yet
2012-03-02 23:01:57 +04:00
James Strachan 2e13f916e6 make the build copy the bin scripts to the dist/kotlinc/bin area by default, so all builds can be used as a full kotlin dist when using things like kotlin-script (https://github.com/andrewoma/kotlin-script), so you can set your PATH to basedir/dist/kotlinc/bin and use your local build as a full kotlin environment 2012-03-02 09:29:38 +00:00
James Strachan 6315c03ea8 added script for kdoc upload to github pages to fix KT-1450 2012-03-01 14:38:25 +00:00
James Strachan 59460c7afa split map() with default arguments into map() and mapTo(resultCollection) to simplify IDE/completion/compiler error messages 2012-02-29 14:25:11 +00:00
James Strachan cf73c1f3e2 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-28 11:57:20 +00:00
James Strachan 949b2ce070 moved the common test helper methods into the kool.test package as a reusable library 2012-02-28 11:56:49 +00:00
Stepan Koltsov 4ea99fc6ca KotlinCompiler -stubs option
* do not fail on errors
* do not analyze function bodies
* generate "throw new RuntimeException()" in bytecode
2012-02-28 15:52:59 +04:00
James Strachan a8435c0fe6 moved the useful test methods into the kotlin-test jar so its easy to reuse on other modules/projects 2012-02-28 11:21:45 +00:00
James Strachan 2e0d00c45b fixed CI build :) 2012-02-27 09:11:51 +00:00
James Strachan 9e6a9e2dc7 made testlib failures fail the build :) 2012-02-27 08:50:03 +00:00
James Strachan edffe8f29e moved the kdoc generation to a separate doc goal, use fork to avoid running out of permgen space and minor refactor 2012-02-23 13:58:12 +00:00
James Strachan b392a6217e added the generation of the kdoc to the dist goal in Ant, refactored the model a little so that it contains descriptors and removed the java code from kdoc implementation 2012-02-23 11:56:32 +00:00
James Strachan 19a67c8edf really simple implementation of kdoc that lets us navigate the packages and classes at least (though the package name is not correct :) 2012-02-22 14:02:28 +00:00
James Strachan e05d299874 added a simple little CompilerPlugin interface and a loosely coupled loader of KDoc if its configured (via -docOutput) and its on the classpath then it can be used at the same stage as a compile & refactored KDoc to work with the compiler. Added a "docStdlib" goal to try out the kdoc on stdlib if the kdoc plugin has been built in kdoc/target/*.jar 2012-02-22 13:28:44 +00:00
Stepan Koltsov a0cc63cd08 failonerror in build.xml 2012-02-21 23:54:11 +04:00
James Strachan 9af12d1bac added a little experimental kdoc module using the maven plugin for dogfooding 2012-02-21 11:31:53 +00:00
James Strachan b8571ece11 added a testlib ant goal to run the unit tests on the testlib 2012-02-20 14:53:34 +00:00
James Strachan 70bb9aec93 added ant goal to compile the testlib test cases 2012-02-20 10:01:57 +00:00
Andrey Breslav 5595e55ab9 A command-line argument to transform file names to *.java 2012-01-30 22:01:38 +04:00
Maxim Shafirov 73100134f9 Plugin&Tests: Build kotlinc by calling to build.xml rather than depending on Dist 2012-01-30 21:40:36 +04:00
Maxim Shafirov 666f922d71 unzipped kompiler. 2012-01-30 20:20:49 +04:00
Maxim Shafirov 6060f63b76 fix compilation 2012-01-27 19:53:10 +04:00
Maxim Shafirov c8cb59668d kotlin-jdk-headers.jar to alt folder 2012-01-27 19:26:25 +04:00