Evgeny Gerashchenko
184ddbc9e1
Removed passing incremental cache base dir via module script.
2014-08-20 13:46:29 +04:00
Alexander Udalov
a83d9a7dce
CLI: introduce alias "-cp" for "-classpath"
2014-08-13 11:10:42 +04:00
Alexander Udalov
5a792ca11f
CLI: output relative paths in diagnostic messages
2014-08-13 11:10:41 +04:00
Alexander Udalov
75db407208
Minor, reuse existing constant
2014-08-13 11:10:41 +04:00
Alexander Udalov
850fc25ee0
CLI: drop "-tags" argument
...
It was only used for the compiler inside the IDE, and there we already invoke a
special method which outputs HTML only
2014-08-13 11:10:41 +04:00
Alexander Udalov
1d2dbca27a
Minor, move utility method out of an interface
2014-08-13 11:10:40 +04:00
Alexander Udalov
97e57e3e3d
CLI: change "-suppress warnings" option to "-nowarn"
...
Following the rule of the least surprise: this option is named "-nowarn" in
other JVM language compilers. Besides, having an option with an argument which
can take exactly one predefined value is sort of confusing
2014-08-13 11:10:40 +04:00
Alexander Udalov
cf431ffab0
CLI: change argument naming convention
...
As in all other Unix/POSIX tools and JVM language compilers, multiple words
comprising the argument name should be lowercase, separated by dashes
2014-08-13 11:10:40 +04:00
Alexander Udalov
6da95e2cea
Maven plugin: support additional arguments, drop inline/optimize
2014-08-13 11:10:39 +04:00
Alexander Udalov
160cde09d6
CLI: Support "-X" advanced options, simplify some boolean options
2014-08-13 11:10:37 +04:00
Alexander Udalov
99025de748
Drop "-jar" and "-output" kotlinc-jvm CLI arguments
...
In favor of a brand new "-d" option
2014-07-26 00:32:28 +04:00
Alexander Udalov
19b80f57cf
Support "-d" option in kotlinc-jvm
...
The intent is to unify "-output" and "-jar" options into the one "-d"
(destination)
2014-07-23 21:24:40 +04:00
Alexander Udalov
de0fd3818c
Drop "-src" in kotlinc-jvm
...
Free arguments should be used instead
2014-07-23 21:24:39 +04:00
Alexander Udalov
917938e57b
Update copyrights
2014-07-23 21:24:39 +04:00
Alexander Udalov
87439b8e0b
Drop "-sourceFiles" in kotlinc-js
...
Use free arguments instead, as is done in kotlinc-jvm and all sensible
compilers everywhere
Also fix some cases of AntTaskTest to be able to run them locally
2014-07-23 21:24:38 +04:00
Alexander Udalov
125c5e2942
Drop "-printArgs"
2014-07-23 16:01:12 +04:00
Denis Zharkov
0e683b0b99
Added "optimize" flag to settings everywhere
2014-07-15 21:34:32 +04:00
Evgeny Gerashchenko
c4573b8c5a
Got rid of ModuleDescription intermediate entity.
2014-07-10 15:05:19 +04:00
Alexander Udalov
ca219f9880
Beautify kotlinc -help output
2014-06-25 22:32:16 +04:00
Alexander Udalov
f51e172570
Fix kotlinc command line usage information
...
Fix spelling, case, minor grammar
2014-06-25 22:32:14 +04:00
Evgeny Gerashchenko
f6129732a2
Writing incrementalCache attribute to <modules> element of xml module script
2014-06-19 01:03:59 +04:00
Evgeny Gerashchenko
ca1ee69e4c
Loading descriptors from incremental cache instead of package classes.
2014-06-18 22:56:33 +04:00
Alexander Udalov
d42598a935
Move default inline flag to JVM back-end
...
- other back-ends are likely to have its own value of this flag
- get rid of DEFAULT_INLINE_FLAG_FOR_TEST
- the main goal was to simplify the default GenerationState constructor, which
now always uses default inline flag value
2014-05-08 16:45:14 +04:00
Andrey Breslav
bcc6843835
Render file name and position in errors from JS library stubs
2014-03-28 13:18:46 +04:00
Mikhael Bogdanov
ca4609dd2a
Support inline true/false options
2014-03-20 17:50:52 +04:00
Mikhael Bogdanov
ee136d6594
Default inline flag = true
2014-03-03 15:43:45 +04:00
Alexander Udalov
004c289a0b
Use kotlin.modules.* instead of jet.modules.*
2014-02-28 21:48:25 +04:00
Ilya Klyuchnikov
0be6e57efe
typo fixed: invokation -> invocation
2014-02-28 14:25:10 +04:00
Mikhael Bogdanov
8533fd64ff
Compiler inline on/off flag
2013-12-02 18:30:42 +04:00
Zalim Bashorov
6e5c849cb8
Use Project JDK in cli-common
2013-11-08 18:14:22 +04:00
Zalim Bashorov
e041e950c8
Extracted OutputDirector and output utils to common place
2013-11-08 18:14:20 +04:00
Zalim Bashorov
0d322fe8bc
K2JS: add ed outputPrefix and outputPostfix compiler arguments to K2JSCompiler.
2013-10-24 19:06:06 +04:00
Zalim Bashorov
5a28f4e158
Added support project settings in old kotlin2js compiler and made minor refactoring.
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
Zalim Bashorov
31a4d91122
CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes
2013-10-16 17:39:49 +04:00
Zalim Bashorov
0877dfc1bd
CLI: added "-printArgs" arguments to commandline compiler.
2013-10-16 17:39:49 +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
Zalim Bashorov
0901c98ff8
CLI: move *CompilerArguments classes to cli-common module.
2013-10-16 17:39:48 +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
Andrey Breslav
c0e8038ed2
FilteringMessageCollector moved out
2013-09-24 06:58:39 -07:00
Andrey Breslav
387bf2601b
Log version in JPS plugin
...
CompilerVersion.java is moved to cli-common (shared between compiler and JPS plugin) and renamed to KotlinVersion
This is needed because on TeamCity a JPS plugin is configured separately from the compiler, so it may happen that
JPS plugin version X tries to run compiler version X+100, and causes trouble.
2013-07-25 20:18:03 +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
33fa065162
Splitting PrintingMessageCollector into Grouping and Printing collectors
2013-02-13 19:06:22 +04:00
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
f6a8c5e886
Exit code is COMPILATION_ERROR whenever an error was reported through a message collector
2013-01-31 19:32:54 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Evgeny Gerashchenko
e03eaf6dde
Removed @author javadocs from code.
2012-12-28 17:44:31 +04:00
Andrey Breslav
7e7e779e80
No printing of verbose compiler output in Ant task and REPL
2012-11-13 19:38:20 +04:00