Alexander Udalov
f37e2f173d
Rename package jet -> kotlin in util, util-runtime
...
org.jetbrains.jet.config -> org.jetbrains.kotlin.config
org.jetbrains.jet.utils -> org.jetbrains.kotlin.utils
Also move coreLib.kt to package 'org.jetbrains.kotlin.utils'
2015-01-08 23:32:08 +03:00
Alexander Udalov
8ca803775f
Rename package jet -> kotlin in cli, cli-common
...
org.jetbrains.jet.cli -> org.jetbrains.kotlin.cli
Also fix some minor warnings
2015-01-08 23:32:07 +03:00
Alexander Udalov
98faeb8647
Rename package jet -> kotlin in ide-compiler-runner
...
org.jetbrains.jet.compiler.runner -> org.jetbrains.kotlin.compilerRunner
org.jetbrains.jet.compiler -> org.jetbrains.kotlin.config
2015-01-06 05:15:11 +03:00
Alexander Udalov
36feb4dfdc
Move module script-related code to org.jetbrains.kotlin.modules
2015-01-05 19:43:16 +03:00
Alexander Udalov
1bf3ca2e26
Rename package jet -> kotlin in preloader and instrumentation
...
org.jetbrains.jet.preloading -> org.jetbrains.kotlin.preloading
2015-01-05 04:19:04 +03:00
Alexander Udalov
9273b0dfec
Preloader: support loading classpath dependencies from manifest
...
Move this logic from ide-compiler-runner. This fixes running 'kotlinc' CLI
compiler locally when the runtime is changed binary incompatibly
2014-12-29 18:19:23 +03:00
Alexander Udalov
0d671141d0
Don't store class loader in CompilerEnvironment
...
Modules jps-plugin and ide-compiler-runner are loaded by the same class loader
2014-12-29 18:19:21 +03:00
Alexander Udalov
5e261e344e
Move ExitCode to cli-common, simplify KotlinCompilerRunner
...
- check exit code's toString instead of integer code: more readable and stable
this way
- call newInstance() on arguments' classes instead of pointless constants
2014-12-29 18:19:20 +03:00
Alexander Udalov
a14e0ac59e
Simplify KotlinCompilerRunner and CompilerRunnerUtil
2014-12-29 18:19:19 +03:00
Alexander Udalov
9807643b0e
Synchronize access to mutable class loader reference in CompilerRunnerUtil
2014-12-29 18:19:18 +03:00
Alexander Udalov
7de9a3f029
Load compiler dependencies in a separate class loader in IDE compiler runner
...
To be able to invoke the intermediate compiler built on the first step of
bootstrap: in contrast to the distributed compiler, it's incompatible with the
runtime produced by itself and should instead be run with the runtime in the
classpath which was used to compile it.
Drop the non-preloader mode of running compiler, because it would require using
a special parent-last class loader with exceptions specified by ClassCondition
2014-12-29 18:19:13 +03:00
Alexander Udalov
45c6d486fc
Refactor CompilerRunnerUtil
...
Eliminate code duplication, add NotNull, make everything private, etc
2014-12-29 18:17:22 +03:00
Michael Nedzelsky
73db22ae20
JS backend: add option 'output library runtime fiies' for Kotlin Compiler
2014-12-12 03:03:34 +03:00
Zalim Bashorov
adab0445de
K2JS: introduce "no-stdlb" parameter and use stdlib from compiler by default.
2014-11-07 16:30:52 +03:00
Evgeny Gerashchenko
97b516a600
Improved output dir checking in KotlinBuilder.
...
Output dir for representative target is necessary only for JS part: moved there.
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
e554c9f53d
Converted CompilerSettings to Kotlin.
2014-10-08 17:22:31 +04:00
Nikolay Krasko
e035fc3219
Minor: fix some dictionary suggestions
2014-09-29 14:03:09 +04:00
Evgeny Gerashchenko
75ffc0f5ff
Converted KotlinBuilder from Java to Kotlin
2014-08-27 16:35:06 +04:00
Evgeny Gerashchenko
56fd9cec7a
Minor. Renamed and cleaned CompilerServices -> Services.
2014-08-20 14:29:03 +04:00
Evgeny Gerashchenko
487f381287
Minor. Renamed and cleaned CompilerServices -> Services.
2014-08-20 13:46:31 +04:00
Evgeny Gerashchenko
fe27b2264a
Passing condition to prefer parent class loader as a parameter to preloader.
2014-08-20 13:46:30 +04:00
Evgeny Gerashchenko
f3b7ae379f
Passing services via type-safe container instead of map.
2014-08-20 13:46:30 +04:00
Evgeny Gerashchenko
184ddbc9e1
Removed passing incremental cache base dir via module script.
2014-08-20 13:46:29 +04:00
Evgeny Gerashchenko
3233317316
Passing class loader instead of factory to compiler.
2014-08-20 13:46:27 +04:00
Evgeny Gerashchenko
5fade9a5a6
Made incremental cache per-module.
...
Reused IDEA framework which manages per-module storage.
2014-08-20 13:46:26 +04:00
Alexander Udalov
807cf1dcc0
Don't pass "-verbose" by default to compiler in IDE
...
Let user pass it in the settings. Currently doesn't affect anything since
apparently no verbose messages appear in the IDE compiler output
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
4a7dc25406
CLI: add an extra MessageRenderer parameter to compiler exec
...
Is supposed to be used instead of the "-tags" CLI argument
2014-08-13 11:10:41 +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
160cde09d6
CLI: Support "-X" advanced options, simplify some boolean options
2014-08-13 11:10:37 +04:00
Alexander Udalov
ec6b158c0e
Fix JS translator JPS runner
2014-07-24 21:44:21 +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
Evgeny Gerashchenko
9206bfb68f
Not writing compiler arguments from JPS plugin by default.
2014-07-10 15:05:19 +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
d3e5790674
Passing custom class loader for loading incremental cache implementation.
2014-06-18 22:56:44 +04:00
Evgeny Gerashchenko
ca1ee69e4c
Loading descriptors from incremental cache instead of package classes.
2014-06-18 22:56:33 +04:00
Alexander Udalov
42d167d17e
Add missing copyrights across the project
2014-05-05 20:43:35 +04:00
Andrey Breslav
bcc6843835
Render file name and position in errors from JS library stubs
2014-03-28 13:18:46 +04:00
Evgeny Gerashchenko
a502374a62
Added incremental compilation flag. For publishing intermediate implementation.
2014-03-25 14:34:53 +04:00
Evgeny Gerashchenko
5acd054c72
Baby steps for incremental compilation.
2014-03-25 14:26:47 +04:00
Andrey Breslav
77c340d872
Always use Project SDK
2014-01-20 20:08:28 +04:00
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