Yan Zhulanow
d0d846ccfc
Report if the widget has an invalid type
2015-09-11 04:30:04 +03:00
Pavel V. Talanov
01ca092f8b
Cli light classes for file facades
2015-09-09 21:21:59 +03:00
Pavel V. Talanov
e9c1df0cb9
J2K CliLightClassGenerationSupport: prettify
2015-09-09 21:21:51 +03:00
Pavel V. Talanov
0c884f10ee
J2K CliLightClassGenerationSupport: autoconvert
2015-09-09 21:21:42 +03:00
Pavel V. Talanov
8ded5e97ef
J2K CliLightClassGenerationSupport: rename file
2015-09-09 21:21:34 +03:00
Dmitry Petrov
a00346a141
MultifileClassCodegen
...
- initial implementation
- new Kotlin file kinds + stub builder
2015-09-09 19:08:17 +03:00
Alexander Udalov
4dc29bf0b2
Introduce 'kotlin' script for running programs
...
'kotlin' is to 'kotlinc' what 'java' is to 'javac'. However it will support
much more: running class by name, jar, scripts, expressions, REPL
2015-09-08 20:30:50 +03:00
Dmitry Petrov
c18f87f0c7
Cleanup after review
2015-09-08 13:02:56 +03:00
Dmitry Petrov
2519641b2b
JvmName annotation support, single-file facade case (just rename file facade class)
...
- initial implementation of JvmFileClassesProvider
- migrate some of PackagePartClassUtil usages to JvmFileClassesProvider (mostly in Codegen)
- placeholder ("no resolve") implementation for migration period and unclear cases
- tests
2015-09-08 13:02:56 +03:00
Alexey Tsvetkov
7e515e3820
Use simple data class TargetId instead of Module to get incremental cache
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
b25dfabbcc
Fix modules tests
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov
0988b21e9c
Use both target name and target type to get incremental cache from backend
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov
5f05f0d678
Move Module to util method
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov
e90ecc48c5
Save target type in Kotlin Builder
2015-09-08 05:49:32 +03:00
Michael Bogdanov
5805c42305
Write abi version to mapping file
2015-09-07 16:29:16 +03:00
Michael Bogdanov
0de83b6f4c
Default module name extraction
2015-09-07 16:29:15 +03:00
Michael Bogdanov
2ca9b3ae0e
Code clean
2015-09-07 16:29:10 +03:00
Zalim Bashorov
8e411e7274
Minor: add incrementalCompilationComponents to GenerationState
2015-09-07 16:29:06 +03:00
Michael Bogdanov
f1c091e897
Serialize mappings via proto
2015-09-07 16:29:03 +03:00
Michael Bogdanov
672d25e7e0
PackagePartProvider refactoring
2015-09-07 16:29:02 +03:00
Michael Bogdanov
939f28f293
Jps support
2015-09-07 16:28:57 +03:00
Michael Bogdanov
c274ceffe8
PackageFacadeProvider refactoring
2015-09-07 16:28:55 +03:00
Dmitry Petrov
5fdfe8df3c
PackagePartClassUtils converted to Kotlin and refactored
2015-09-07 16:28:53 +03:00
Michael Bogdanov
357a6d9902
repl fix
2015-09-07 16:28:51 +03:00
Michael Bogdanov
1fcacecf93
stubs for new components
2015-09-07 16:28:48 +03:00
Michael Bogdanov
6dcd059009
new kompiler parameter
2015-09-07 16:28:47 +03:00
Dmitry Petrov
83336553df
Use special index to record files corresponding to static facade classes.
2015-09-07 16:28:45 +03:00
Dmitry Petrov
ab8b5d05ed
Light class generation for new facades/parts.
...
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00
Dmitry Petrov
47f5b55e65
KotlinLightClassForPackage -> KotlinLightClassForFacade
...
(with minor changes)
2015-09-07 16:28:44 +03:00
Ilya Ryzhenkov
ba5d5cc87b
Optimize away boxing in JvmDependenciesIndex
2015-09-06 17:01:32 +03:00
Valentin Kipyatkov
37ed77467f
Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern
2015-09-03 15:55:57 +03:00
Alexey Tsvetkov
7101f9a3a4
Move GenerationState member up to further simplify constructor usages
2015-09-01 19:05:38 +03:00
Alexey Tsvetkov
1e964c6302
Make "progress" parameter with last in GenerationState constructor
...
This parameter has a default value, so it's more convenient to have it
closer to the end of parameter list.
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
de23f7ace8
Move property declaration to constructor
2015-09-01 19:05:37 +03:00
Stanislav Erokhin
d1efadf168
Created slice key LEXICAL_SCOPE
2015-08-29 01:44:35 +03:00
Alexander Udalov
aba6ab1299
Refactor command-line interface to kotlin-preloader.jar
...
Use reasonable defaults for the options: no time profiling, no instrumenters,
empty classpath, 4096 as the class number estimate. Replace 4096 in the
codebase with the constant field.
Keep the old interface intact until the build is bootstrapped and the new one
can be used in all compilation steps
2015-08-24 01:29:58 +03:00
Alexander Udalov
df76695e72
Somewhat improve 'incomplete hierarchy' diagnostic message
2015-08-24 01:29:57 +03:00
Dmitry Jemerov
c00fbb236f
don't perform full resolve and stub building for isInheritor() checks
...
#KT-8656 Fixed
2015-08-21 12:08:53 +02:00
Dmitry Jemerov
f2ff752dd1
KotlinLightClassForExplicitDeclaration: J2K
2015-08-21 12:08:51 +02:00
Pavel V. Talanov
2ef5e03f27
Introduce TargetEnvironment and CompilerEnvironment
2015-08-19 21:18:27 +03:00
Zalim Bashorov
96696c6846
UsageCollector -> LookupTracker
2015-08-08 02:08:14 +03:00
Dmitry Jemerov
456cdab814
reset init time in all compiler invocations
2015-08-04 17:00:33 +02:00
Dmitry Jemerov
f49ccb22ab
report correct compiler init timings
2015-08-04 16:12:05 +02:00
Natalia Ukhorskaya
47b94326ec
Add NotNull assertions at project.getComponent
...
(cherry picked from commit 9b1167c)
2015-07-27 12:06:01 +03:00
Pavel V. Talanov
8cc9739f72
Refactor: Pass TargetPlatform instead of configurator, hide DynamicTypesSettings inside configurator
2015-07-23 16:15:38 +03:00
Pavel V. Talanov
84b8ed00c5
Refactor: Move TargetPlatform to frontend, make it expose platform dependant resolve services
...
AdditionalCheckerProvider -> PlatformConfigurator which operates directly on container
2015-07-23 16:15:35 +03:00
Zalim Bashorov
679d5fe496
Introduce UsageCollector
2015-07-21 22:27:27 +03:00
Zalim Bashorov
91b87f41bc
incremental.cache -> incremental.components; IncrementalCacheProvider -> IncrementalCompilationComponents
2015-07-21 22:27:26 +03:00
Dmitry Jemerov
b791ea03a9
code cleanup: cli-common module
2015-07-21 16:21:48 +02:00
Dmitry Jemerov
7c2b2dcc6a
code cleanup: backend-common, cli modules
2015-07-21 16:20:11 +02:00