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
Andrey Breslav
887e4276ee
getDiagnostics() in BindingContext returns Diagnostics rather than List<Diagnostic>
2013-09-24 06:58:39 -07:00
Andrey Breslav
9fef0c8650
Support '-suppress warnings'
...
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Andrey Breslav
c0e8038ed2
FilteringMessageCollector moved out
2013-09-24 06:58:39 -07:00
Andrey Breslav
f245d93eea
Common CLI parameters extracted into a base class
2013-09-24 06:58:38 -07:00
develar
da68540ade
JS backend: LibrarySourcesConfig accepts source dir as source.
...
Idea send files in any case, but for easy debug run configurations we want to specify only source dir.
(cherry picked from commit e194435)
2013-09-20 17:21:14 +04:00
Alexander Udalov
8e59e789dc
Extract util.runtime module out of util
...
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.
Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Erokhin Stanislav
4c57d70be9
JS backend: remove ECMA 3, but several tests is broken.
...
Main reason: overload extention property:
Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +04:00
Evgeny Gerashchenko
dcfeea4029
Removed IDE templates support from compiler.
2013-09-17 18:09:59 +04:00
Alexander Udalov
2b9225fdd4
Extract descriptor.loader.java module from frontend.java
...
Will be used in runtime to load reflected classes
2013-09-04 21:55:11 +04:00
Alexander Udalov
a17328f9d3
Minor, move ABI version error reporting
...
AbiVersionUtil will be used in descriptors.loader.java, so it cannot depend on
BindingTrace
2013-09-04 21:55:10 +04:00
develar
3ab095a4f5
JS backend: started to implement source maps
...
#KT-927 in progress
(cherry picked from commits 5543cda, 6ed296b, 11186f9, 5b84d0b)
2013-08-30 13:17:20 +04:00
Pavel V. Talanov
52de4215b5
Introduce VirtualFileFinder interface
...
Provide different implementations in Cli and Ide
2013-08-26 17:58:47 +04:00
Pavel V. Talanov
4e29aad1c1
Rework invalid abi version reporting
...
KotlinClassFileHeader is aware of older annotations
Psi is not used to report invalid Abi version in CLI
2013-08-26 17:58:44 +04:00
Andrey Breslav
25a5025c58
Built-ins can now be initialized on demand
2013-08-23 17:39:06 +04:00
Andrey Breslav
b7966179f5
Deserialize built-ins
2013-08-23 17:39:04 +04:00
Nikolay Krasko
73308378e5
Add ability to test jet file is in scope
2013-08-14 15:31:16 +04:00
Zalim Bashorov
b46e0361c5
Use the system path separator character in compiler messages.
...
Fix for CliTest.
2013-08-12 13:37:44 +04: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
Evgeny Gerashchenko
104f15adc4
Moved Java-related keys to JavaBindingContext.
2013-06-25 20:17:47 +04:00
Mikhael Bogdanov
e803bcb3d9
Fix for KT-3687
...
#KT-3687 Fixed
2013-06-17 18:01:50 +04:00
Evgeny Gerashchenko
43b9a9d434
Renamed Name.getName() and FqName.getFqName() to asString()
2013-05-21 17:56:05 +04:00
Andrey Breslav
a2b82095da
Using the version of ASM that has debug information in it
...
No more need for extra ASM jars (analysis and util)
2013-05-21 13:56:34 +04:00
chocolateboy
1bf06f7c02
make the preloader's required profiler argument (time|notime) an optional switch: -pp
...
fixes for broken Windows batch files
2013-05-21 12:22:06 +04:00