Commit Graph

72 Commits

Author SHA1 Message Date
Alex Tkachman 9ba1dbf98a refactoring in progress 2012-02-27 22:59:34 +02:00
Svetlana Isakova 631961e761 Diagnostics & diagnostic factories refactoring 2012-02-27 21:39:26 +04:00
Alex Tkachman ec442af1b3 attempt to fix failing test 2012-02-23 19:17:55 +02:00
Alex Tkachman 1921e266a8 ability to compile text (not file) 2012-02-23 18:45:34 +02:00
Alex Tkachman f4bfffd714 global var replaced by thread local 2012-02-23 17:13:03 +02:00
Alex Tkachman 4f67177aa2 Revert "ability to compile text and small refactoring"
This reverts commit 4ddf101397.
2012-02-23 17:01:33 +02:00
Alex Tkachman 4ddf101397 ability to compile text and small refactoring 2012-02-23 14:12:28 +02:00
James Strachan f771158d30 refactored the loading of KDoc and removed the old code to show how to navigate the bindingContext as thats now implemented in KDocSupport 2012-02-22 14:01:58 +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
Andrey Breslav e3efda22c5 Removing the KDoc processor for now 2012-02-22 16:50:16 +04:00
Andrey Breslav be032b84c8 Typo fixed 2012-02-22 16:15:09 +04:00
Andrey Breslav 583bcc0a1d Strub model walking code 2012-02-22 16:14:07 +04:00
Stepan Koltsov 175b7230f1 better compiler output for incomplete hierarchies 2012-02-21 18:37:49 +04:00
James Strachan 44169529f3 provide a hook so we can add post processors into the compiler; such as for generating javadoc etc 2012-02-21 11:29:50 +00:00
Andrey Breslav a5a28a11c7 No errors printed in "ignoreErrors" mode 2012-02-21 13:37:36 +04:00
Andrey Breslav 2ff896cc5a Cleaned up Kompiler's error reporting 2012-02-21 12:52:59 +04:00
Stepan Koltsov 5eb483b7a7 better error reporting on incomplete hierarchy in JDR 2012-02-20 21:28:10 +04:00
Maxim Shafirov 6cb7833e9b Cleanup 2012-02-17 21:07:32 +04:00
Andrey Breslav a87c0903f2 KT-224 "Overload ambiguity" when calling toString() method 2012-02-17 21:01:24 +04:00
Maxim Shafirov bf508ae03e KT-1245 Report syntax errors in kompiler 2012-02-17 21:00:45 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Evgeny Gerashchenko b1db3aa8a5 Added CompileEnvironment.dispose() in KotlinCompiler to restore original Application after compilation. 2012-02-13 20:28:03 +04:00
Stepan Koltsov df3abbfbb6 diagnostics in CompileEnvironment 2012-02-09 16:34:26 +04:00
Maxim Shafirov 8e6e3f683a In-the-process compiler 2012-02-07 20:51:41 +04:00
Maxim Shafirov 04b0699cd5 Fix memory leak by disposing a classloader. The real issue though is located in TypeInfoParser, that has WeakHashMap with values referencing keys. 2012-02-02 20:35:15 +04:00
Maxim Shafirov 14ab62cf7a Out-of-process compiler 2012-02-02 18:59:03 +04:00
Maxim Shafirov 21997904c5 NPE, if there were errors reported 2012-02-02 18:59:02 +04:00
Maxim Shafirov f58bbb8de6 Respect -output even if compiling module script 2012-02-02 18:59:02 +04:00
Andrey Breslav 55fdeb9e35 Fixed fqn for the root package class 2012-02-01 18:41:15 +04:00
Maxim Shafirov dbbd4c6902 Make sure alt-headers actually work in "core" environment 2012-01-31 13:37:40 +04:00
Andrey Breslav 5595e55ab9 A command-line argument to transform file names to *.java 2012-01-30 22:01:38 +04:00
Evgeny Goldin 5cc9ce8a98 Ant task - added classpath/classpathref
CompileEnvironment - added addToClasspath(File[] / String[])
Switching to CompileEnvironmentException to throw fatal errors
2012-01-28 00:13:06 +02:00
Andrey Breslav 167b6c8a5a A command-line option to ignore compilation errors and generate byte code anyway.
Needed for: building jdk-headers
2012-01-26 19:12:26 +04:00
Maxim Shafirov 88a71b9ef2 Make sure we won't compile same modules in subsequent script runs in same VM instance 2012-01-25 15:02:58 +04:00
Maxim Shafirov aca633cae0 Attempt to fix CompileEnvironmentTest 2012-01-25 14:49:48 +04:00
Maxim Shafirov e79041e680 Don't shut down VM if the test that calls main() directly fails. 2012-01-25 14:17:47 +04:00
Maxim Shafirov cf6704479f some logging 2012-01-25 13:59:27 +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
Maxim Shafirov 00667b14e7 Simplify rt.jar discovery 2012-01-24 17:18:33 +04:00
Maxim Shafirov f541cce098 Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore. 2012-01-20 19:17:32 +04:00
Evgeny Goldin 1fc1301cb2 Merge branch 'master' into build-tools 2012-01-16 21:18:34 +02:00
Maxim Shafirov d51c030803 New module script DSL 2012-01-16 20:59:17 +04:00
Maxim Shafirov 7142bc10d0 Comment out temporarily to fix compilation 2012-01-16 16:38:37 +04: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
Stepan Koltsov ed58ca219b better help in command line compiler 2012-01-09 20:55:44 +04:00
Stepan Koltsov 09d0780fe6 developer option to exclude sources
to compile stdlib
2012-01-06 21:22:55 +04:00
Stepan Koltsov 430b973458 better error reporting in commandline compiler 2012-01-06 21:22:50 +04:00
Alex Tkachman b9f39b00c0 KotlinCompiler and tests aware on standard library 2011-11-28 14:36:57 +02:00