3360 Commits

Author SHA1 Message Date
Andrey Breslav 3293e08d97 Compiler API refactored:
* exec(messageCollector, arguments) introduced
* exception-catching logic moved closer to the entry point
* PrintingMessageCollector localized
2013-02-13 11:03:27 +04:00
Andrey Breslav e3cb79ce2e "--kotlinHome" command-line option 2013-02-05 20:30:32 +04:00
Andrey Breslav f6a8c5e886 Exit code is COMPILATION_ERROR whenever an error was reported through a message collector 2013-01-31 19:32:54 +04:00
Andrey Breslav e31d5fd3fb "Absent classpath entry" is now a warning 2013-01-31 19:32:54 +04:00
Evgeny Gerashchenko 52b7ee6447 Happy new year 2013! 2013-01-28 18:58:08 +04:00
Andrey Breslav 0dc24bcd92 KT-3268 Check binary format version in the compiler 2013-01-23 20:12:48 +04:00
Andrey Breslav 2cb530a6d1 Warnings fixed, annotations added 2013-01-23 20:12:47 +04:00
Andrey Breslav e1831877b7 GenerationStrategy removed 2013-01-23 18:54:03 +04:00
Nikolay Krasko 44dcdde513 Dispose GeneratedClassLoader 2013-01-22 16:05:23 +04:00
Evgeny Gerashchenko ca4751653f ability to get text from annotations xml files 2013-01-21 21:16:51 +04:00
Natalia.Ukhorskaya 47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Andrey Breslav 4b4a9eb6c9 Create new trace before each resolve (to avoid writing to a trace already filled in by previous analysis) 2013-01-15 15:32:02 +04:00
Andrey Breslav fe39f1ea63 NPE fixed 2013-01-14 20:20:29 +04:00
Andrey Breslav 69080b72af When generating light class for package, do not generate other classes 2013-01-14 20:20:21 +04:00
Andrey Breslav a91b113cc3 GenerationStrategy is now a strategy 2013-01-14 20:20:20 +04:00
Andrey Breslav 034cd8844e Provide context for multiple files 2013-01-14 20:20:19 +04:00
Andrey Breslav abbaa51a91 Using indexes to find subpackages 2013-01-14 20:20:16 +04:00
Andrey Breslav 29dd3821cc Using indexes to find packages
JetLightPackage does not depend on PSI elements any more
2013-01-14 20:20:15 +04:00
Andrey Breslav 83075d0ad2 Using indexes for getClassNames() 2013-01-14 20:20:14 +04:00
Andrey Breslav 5f3fc5190f LightClassGenerationSupport helps finding class and package declarations 2013-01-14 20:20:12 +04:00
Andrey Breslav 2c3a955074 Retrieve JavaElementFinder from Project's extensions 2013-01-14 20:20:10 +04:00
Andrey Breslav 7c4d1e6b09 KotlinCacheManager and LightClassGenerationSupport services added 2013-01-14 20:20:09 +04:00
Andrey Breslav b5aa44ae49 GenerationState is constructed with BindingContext, not full AnalyzeExhaust 2013-01-14 15:19:50 +04:00
Evgeny Gerashchenko 8a7548bc84 Wiped traces of JetStandardLibrary class name. 2013-01-11 18:23:05 +04:00
Nikolay Krasko 48445c23ef Early support for idea trunk 2012-12-29 16:46:19 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Andrey Breslav 4df4a91615 Report environment errors through messageCollector when available 2012-12-14 15:28:21 +04:00
Andrey Breslav ebabb3b8af Error message fixed 2012-12-07 21:54:11 +04:00
Alexander Udalov 8a33e1d6b2 Fix kotlinc on Cygwin
Do not convert KOTLIN_HOME back to unix format, since it's passed to Win
version of Java, which doesn't understand /cygdrive/.. paths

 #KT-3049 Fixed
2012-11-27 13:33:57 +04:00
Alexander Udalov e97f53ce8d Don't output long comment every time in kotlinc on Windows
#KT-3048 Fixed
2012-11-26 19:37:05 +04:00
Alexander Udalov 32f30c89d0 Preserve spaces in kotlin home 2012-11-26 19:35:21 +04:00
Alexander Udalov 07ed31f90e Set executable permissions to kotlinc 2012-11-26 19:33:47 +04:00
Andrey Breslav 4ed07cd9ae Introducing KotlinPaths to impose some discipline on compiler/library location 2012-11-21 18:16:09 +04:00
Evgeny Gerashchenko 19e283a333 Fixed printing multiple errors in Kotlin signatures. 2012-11-21 14:00:51 +04:00
Evgeny Gerashchenko 60f30732ed Supported several load from Java errors per declaration. 2012-11-20 17:20:02 +04:00
Evgeny Gerashchenko 4525e05268 Throwing exception only if no loading errors happened. 2012-11-20 17:20:02 +04:00
Andrey Breslav 0c1ef8a9a6 Explicitly add rt.jar to the script class path 2012-11-13 19:38:20 +04:00
Andrey Breslav 7e7e779e80 No printing of verbose compiler output in Ant task and REPL 2012-11-13 19:38:20 +04:00
Andrey Breslav f868d965e1 Report system-independent source file paths 2012-11-13 16:06:13 +04:00
Andrey Breslav 3a1f3532a0 Reporting real source file paths from K2JS compiler 2012-11-13 15:18:12 +04:00
Andrey Breslav 8e2c9610d5 Avoid printing logging messages twice 2012-11-13 14:46:34 +04:00
Andrey Breslav b2b5ccefbd Switching from log/learn to reportOutput/add 2012-11-13 13:45:45 +04:00
Andrey Breslav ef403cc91a Alternative methods for progress reporting 2012-11-13 13:45:45 +04:00
Andrey Breslav cca21e96c1 Progress class moved to jvm backend 2012-11-13 13:45:44 +04:00
Andrey Breslav d6c8b8683b Failed test toutput improved 2012-11-12 11:52:59 +04:00
Andrey Breslav 0b6b8873b9 Module names in exception messages 2012-11-09 21:56:32 +04:00
Andrey Breslav 32745f1202 cli-common module extracted, to be used by the compiler-runner module 2012-11-09 21:56:29 +04:00
Andrey Breslav 937c4e8baf BuiltinsScopeExtensionMode not needed any more
(see the changes in DefaultModuleConfiguration.java)
2012-10-17 13:48:07 +04:00
Andrey Breslav e81f38b6a8 JetStandardLibrary -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00
Andrey Breslav c719ae427a JetStandardClasses -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00