Commit Graph

43 Commits

Author SHA1 Message Date
Zalim Bashorov da718af8b7 Minor refactoring -- rename some classes and variables. 2013-10-24 19:06:07 +04:00
Zalim Bashorov 03071f77bc Added "Generate source maps" to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov faa82317b6 Added "Additional command line parameters" to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov 4d68262b7f CLI & JPS: use List instead Set for libraries and decencies. 2013-10-24 18:36:59 +04:00
Zalim Bashorov 22dde719de Pass arguments to the compiler as String[] instead of Object (instanceof CommonCompilerArguments). 2013-10-24 18:36:59 +04:00
Andrey Breslav c84e582397 Correctly report locations of output files 2013-10-21 19:21:23 +04:00
Zalim Bashorov 31a4d91122 CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes 2013-10-16 17:39:49 +04:00
Zalim Bashorov 5e0ef68d64 JPS: switch to using *CompilerArgument classes(from IDEA Project Settings) in build. 2013-10-16 17:39:49 +04:00
Zalim Bashorov 41d0a8be24 JPS: removed unnecessary code for running compiler out of process. 2013-10-16 17:39:48 +04:00
Zalim Bashorov 809e25f48a IDEA: created a infrastructure for saving any compiler settings.
Added "generate no warnings" to Settings.
2013-10-16 17:39:48 +04:00
Andrey Breslav a6b89b8874 Add kotlin-runtime to compiler classpath 2013-10-14 14:42:25 +04:00
Andrey Breslav 60425b15e6 Support circular dependencies
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
2013-10-14 14:42:24 +04:00
Andrey Breslav 9e0e67d19d Refactoring: common logic extracted and moved to a util class 2013-10-10 17:49:17 +04:00
Andrey Breslav d4a89d04d7 Each module carries its output directory 2013-10-10 17:49:17 +04:00
Zalim Bashorov dd553ef671 JPS plugin: refactoring:
- extract utility methods from KotlinBuilder;
- use StringUtil#join instead for iteration;
- add private constructor to LibraryUtils.
2013-10-04 19:18:19 +04:00
Zalim Bashorov 2b9b563efb JPS plugin: add support external compilation for JS modules. 2013-10-03 13:58:02 +04:00
Zalim Bashorov cfb7104ae9 JPS plugin: make the code more understandable -- added some comments and rename scriptFile to moduleFile. 2013-10-03 13:58:02 +04:00
Andrey Breslav 7ff1885e8e The error message now tells the user about jps.kotlin.home
For TeamCity users
2013-05-29 21:39:36 +04:00
Andrey Breslav f1f9d5327c Using XML instead of module scripts when running from IDE 2013-04-29 17:59:52 +04:00
Andrey Breslav 42505246b8 Module descriptions in XML 2013-04-29 17:59:51 +04:00
Andrey Breslav 3673f8003b reportException() moved to a utility class and used where appropriate 2013-04-29 15:46:37 +04:00
Andrey Breslav abd162d466 Interface extracted from KotlinModuleScriptGenerator 2013-04-29 15:46:37 +04:00
Andrey Breslav 991256bfd3 Use preloader in the IDE 2013-04-26 14:33:27 +04:00
Andrey Breslav ddb474ea8e Reorder method parameters 2013-04-26 14:33:27 +04:00
Evgeny Gerashchenko ec5331057a Removed unnecessary final on local variables. 2013-03-13 14:12:50 +04:00
Alexander Udalov c9339c2871 Turn on generating not-null assertions by default
When compiling from IDE
2013-02-04 17:19:10 +04:00
Evgeny Gerashchenko 52b7ee6447 Happy new year 2013! 2013-01-28 18:58:08 +04:00
Andrey Breslav 380c8b596a The slow (synchronized) java.util.Stack replaced by com.intellij.util.containers.Stack 2013-01-14 20:20:10 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Andrey Breslav 21b9835dc5 Proper kotlinHome in compiler messages 2012-11-24 21:39:35 +04:00
Andrey Breslav 3e1a5a7be1 Report exceptions from both makes to Exception Analyzer 2012-11-21 19:31:14 +04:00
Andrey Breslav 4ed07cd9ae Introducing KotlinPaths to impose some discipline on compiler/library location 2012-11-21 18:16:09 +04:00
Andrey Breslav 4ee76a6649 KT-3056 Kotlin: Cannot find kotlinc home. Make sure plugin is properly installed
#KT-3056 Fixed
2012-11-21 14:12:51 +04:00
Andrey Breslav b5151ebec3 CompilerOutputParser extracted 2012-11-13 13:45:45 +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 9619de2060 Module script generator fixed
It used to put system-dependent paths into script files, which resulted in syntactically incorrect string literals on Windows:
 sources += "C:\foo.kt" // \f is wrong here

 Solution: convert paths to system-independent form (forward slashes)
2012-11-12 11:54:45 +04:00
Andrey Breslav 57120e6d5c Migrating script generation onto java.io.File 2012-11-09 21:56:32 +04:00
Andrey Breslav 8920920686 Helper method 2012-11-09 21:56:32 +04:00
Andrey Breslav c01587a0b1 Common functionality factored out of OutputItemsCollectorImpl
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav e2d504c78e Report raw paths, not URLs, convert when needed 2012-11-09 21:56:31 +04:00
Andrey Breslav 3d394cc49b The code that executes the KotlinToJVM compiler moved to an independent module
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav 2584ba5246 Module script generation moved to a separate module
To be re-used by the external build later
2012-11-09 21:56:30 +04:00