Zalim Bashorov
6e5c849cb8
Use Project JDK in cli-common
2013-11-08 18:14:22 +04:00
Zalim Bashorov
1409dd7812
Refresh FS after compilation for js and sourcemap files.
2013-11-08 18:14:21 +04:00
Zalim Bashorov
637c6635bd
Just rename some variables like: *factory -> outputFiles
2013-11-08 18:14:21 +04:00
Zalim Bashorov
4cea0a3de4
Fix build after change api
2013-11-08 18:14:21 +04:00
Zalim Bashorov
ae8ac28ddc
Split OutputFileFactory to OutputFileCollection and OutputFile
2013-11-08 18:14:21 +04:00
Zalim Bashorov
e041e950c8
Extracted OutputDirector and output utils to common place
2013-11-08 18:14:20 +04:00
Zalim Bashorov
5dd4eb780e
Extracted OutputFileFactory interface.
2013-11-08 18:14:20 +04:00
svtk
d2680bca22
extracted class BindingTraceContextWithoutScopeRecording
2013-11-01 15:26:13 +04:00
Andrey Breslav
c3614c46cd
Do not keep scopes in the trace for CLI compiler
2013-11-01 15:26:12 +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
Andrey Breslav
c84e582397
Correctly report locations of output files
2013-10-21 19:21:23 +04:00
Alexander Udalov
d4aaed2787
Don't add kotlin-runtime to classpath in CliTest
...
Also remove testing code from KotlinToJVMBytecodeCompiler, delete code
duplication, etc.
2013-10-16 19:02:46 +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
Zalim Bashorov
db5faf8300
CLI: removed unnecessary code that depended on KT-1863 and KT-2498.
2013-10-16 17:39:48 +04:00
Zalim Bashorov
5d84abb34c
CLI: move the compilerPlugins property from CompilerArguments to CLICompiler.
2013-10-16 17:39:47 +04:00
Zalim Bashorov
8cea226a87
CLI: move K2JSCompilerArguments#createMainCallParameters to K2JSCompiler.
2013-10-16 17:39:47 +04:00
Andrey Breslav
5b04783ee2
Using Disposer.newDisposable() instead of an anonymous class
2013-10-15 15:28:29 +04:00
Andrey Breslav
6384090034
Use reference counting to dispose the application when needed
2013-10-15 15:28:29 +04:00
Andrey Breslav
1d540181b0
Produciton code uses a shared application between many projects.
...
Tests always dispose the application together with JetCoreEnvironment
2013-10-15 15:28:28 +04:00
Andrey Breslav
e8142d6464
Extract method: initApplication
2013-10-15 15:01:35 +04:00
Andrey Breslav
cd275fd814
'runtime' module replaced by 'kotlin-runtime' library
2013-10-14 14:42:25 +04:00
Andrey Breslav
d5b08d4f1c
Support building many modules "as one": merging all the paths etc
...
This is for a workaround implementation of support for mutually dependent modules
2013-10-14 14:42:24 +04:00
Andrey Breslav
4bc0f8280f
Rename variable
2013-10-10 17:49:17 +04:00
Andrey Breslav
68e2e9b4fc
Ability to direct output of different modules to different directories
2013-10-10 17:49:17 +04:00
Andrey Breslav
2a8ebc7dbe
Do not report the output twice
2013-10-10 17:49:17 +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
f529e5d2aa
ModuleChunks introduced
2013-10-10 17:49:16 +04:00
Mikhael Bogdanov
d4b84a8809
ScriptCodegen refactoring: unsingleton
2013-10-10 16:17:10 +04:00
Andrey Breslav
a47d187c7a
Useless method and parameter removed
2013-10-09 19:16:43 +04:00
Andrey Breslav
1819825e54
"builtins/stubs" mode removed from backend
2013-10-09 19:16:43 +04:00
Andrey Breslav
7123905e96
Support for "builtins/stubs" mode removed from cli
2013-10-09 19:16:43 +04:00
Andrey Breslav
9391fa79c3
CLI help text changed
2013-10-08 21:52:08 +04:00
Alexander Udalov
89dbafb6be
Rename KotlinClassFileHeader and related classes
2013-10-04 18:32:42 +04:00
Alexander Udalov
e8d4aae48b
Minimize usages of JvmClassName.getFqName()
2013-10-04 18:32:41 +04:00
Alexander Udalov
fa4f568437
Delete AsmUtil.fqNameByAsmTypeUnsafe, refactor KotlinToJavaTypesMap
2013-10-04 18:32:41 +04:00
Alexander Udalov
f4abaaee10
Delete JvmClassName.byType
...
Replace JvmClassName by ASM Type in many places of JVM codegen: it wasn't used
to abstract anything, but there was a lot of useless conversions between the
two
2013-10-04 18:32:39 +04:00
Alexander Udalov
f68a702e8f
Report ABI errors on KotlinClass, not VirtualFile
2013-10-02 17:55:02 +04:00
Alexander Udalov
a5a80a9ccc
Change KotlinClassFileHeader loading interface
...
It should be able to load the header based on an abstract KotlinJvmBinaryClass,
not only the VirtualFile-based one
2013-10-02 17:05:50 +04:00
Evgeny Gerashchenko
eb5455e89f
Got rid of "jet" file extension.
2013-10-01 19:32:38 +04:00
Alexander Udalov
ee92ebe941
Move Kotlin descriptor loading to kotlin/ package
2013-09-30 22:43:17 +04:00
Alexander Udalov
fa9307d08c
Delete unused method from VirtualFileFinder
2013-09-30 22:43:17 +04:00
Alexander Udalov
e4d538c668
Move KotlinClassFileHeader to header/ package
2013-09-30 22:43:16 +04:00
Alexander Udalov
92cc0ddd1f
KotlinClassFileHeader is now nullable everywhere
...
'null' means there's no header. This makes all of KotlinClassFileHeader's
fields non-null
2013-09-30 22:43:16 +04:00
Alexander Udalov
e981681d3e
Remove KotlinClassFileHeader.HeaderType.NONE
...
Use null instead
2013-09-30 22:43:16 +04:00