Commit Graph

246 Commits

Author SHA1 Message Date
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
Evgeny Goldin a43a6c6678 Ant task - "stdlib" attribute added, "excludeStdlib" attribute removed; <define-kotlinc/> invokes "bootstrap.xml" and works recursively
"clean" task - <delete dir="${basedir}/bootstrap.compiler"/>
2012-01-27 00:50:36 +02:00
Andrey Breslav 537b327c17 Building JDK headers (kotlinized version of the JDK library) 2012-01-26 19:12:26 +04:00
Maxim Shafirov ad9ee0eda8 Command line args changed 2012-01-24 18:38:55 +04:00
Maxim Shafirov 81ef081a87 Finally drop attaching stdlib sources everywhere 2012-01-24 17:20:19 +04:00
Evgeny Goldin 5fef229297 Ant task - main "build.xml" - back to "${idea.sdk}/*.jar" 2012-01-22 17:57:54 +02:00
Evgeny Goldin 11dbb76363 Ant task - main "build.xml" updates; "setup-kotlin-home" checks ${kotlin-home} availability; "longer-examples-tests" - Java runs disabled (fail right now) 2012-01-22 16:55:23 +02:00
Evgeny Goldin 3407f808f0 Ant task - running "kotlinc-dir"/"kotlinc-jar" added to all tests 2012-01-18 01:55:02 +02:00
Evgeny Goldin c39f078e35 <javac>: includeAntRuntime="false" + "-Xlint:all" for "build-tools" 2012-01-17 01:01:09 +02:00
Evgeny Goldin 1fc1301cb2 Merge branch 'master' into build-tools 2012-01-16 21:18:34 +02:00
Maxim Shafirov 654bc92246 fix compiler compile 2012-01-16 16:16:36 +04:00
Evgeny Goldin 823852cc6c First Ant task + "buildToolsTest" Ant target added 2012-01-15 19:55:11 +02:00
Evgeny Goldin 28044c18cd "build-tools" module + "buildTools" Ant target added 2012-01-15 17:35:49 +02:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Maxim Shafirov c7761fae14 KT-965 2012-01-12 14:05:14 +04:00
Stepan Koltsov 4c3ebe7ea9 option to override ideaSDK path 2012-01-06 21:23:07 +04:00
Stepan Koltsov 09d0780fe6 developer option to exclude sources
to compile stdlib
2012-01-06 21:22:55 +04:00
Maxim Shafirov 0f6fd27bef Stable compiler directory name so we can refer to it in Tests build 2011-12-29 14:42:07 +04:00
Alex Tkachman 9f4cd37dbb stdlib included in to cli-compilation 2011-12-25 12:28:00 +02:00
Alex Tkachman f4704adc3f proper archiving of stdlib sources 2011-12-25 12:08:28 +02:00
Alex Tkachman b9f39b00c0 KotlinCompiler and tests aware on standard library 2011-11-28 14:36:57 +02:00
Andrey Breslav 2ceb576215 Debug info added (required for meaningful stack traces) 2011-11-25 15:51:00 +03:00
Dmitry Jemerov b39ea7a876 module compiler: initial working version 2011-10-31 13:35:33 +01:00
Dmitry Jemerov 9b51604c92 assorted build script fixes 2011-10-17 18:15:53 +02:00
Dmitry Jemerov c0861c2593 jar depends on compile 2011-10-17 18:04:57 +02:00
Dmitry Jemerov 3083fde2dd binary distribution for Kotlin 2011-10-17 18:01:02 +02:00