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
Valentin Kipyatkov
16d503aed0
Even faster completion of root packages
2015-07-16 15:04:01 +03:00
Denis Zharkov
0a19fb7df2
Make project compilable after types enhancement
2015-07-09 16:36:46 +03:00
Alexander Udalov
0bad4e0137
Make KotlinJvmCheckerProvider non-singleton, pass module to it
2015-07-06 16:19:53 +03:00
Stanislav Erokhin
298a27951f
Use System.nanoTime() instead threadMxBean.getCurrentThreadUserTime()
2015-07-02 16:32:45 +03:00
Stanislav Erokhin
d830729ddb
change creation of performance counters
2015-07-02 16:32:44 +03:00
Stanislav Erokhin
9974423e2b
Disable performance time counters by default
2015-07-02 16:32:44 +03:00
Pavel V. Talanov
15a4782a0c
Move CompilationCanceledStatus and related utils to "util" module
...
It should not be in "frontend" since "jps bare plugin" artifact does not include "frontend" module
2015-07-01 21:21:35 +03:00
Pavel V. Talanov
b173f96505
Refactor: Remove ScopeProvider, introduce FileScopeProviderImpl
...
Rename NoFileScopeProvider -> FileScopeProvider.ThrowException, ScopeProvider.AdditionalScopeProvider -> FileScopeProvider.AdditionalScopes
2015-06-30 16:12:23 +03:00
Nikolay Krasko
8bea21a847
Introduce BodyResolveCache for storing resolve function body task in IDE
2015-06-30 13:54:42 +03:00
Nikolay Krasko
980a0d19be
Refactoring: don't register scopes explicitly, get them from scope provider on demand
2015-06-30 13:54:38 +03:00
Ilya Gorbunov
6d4e48ab9a
Compiler&plugin deprecations cleanup: string operations.
2015-06-29 17:06:43 +03:00
Ilya Gorbunov
f4651f22ca
Compiler&plugin deprecations cleanup: adhoc indices property for IntArrayList.
2015-06-29 17:06:29 +03:00
Ilya Gorbunov
2c31a1a345
Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
2015-06-29 17:06:12 +03:00
Michael Nedzelsky
c462d23a0e
add support for cancel compilation from IDE
...
#KT-8158 Fixed
2015-06-29 16:41:16 +03:00
Pavel V. Talanov
df529f1a4b
Convert usages of existing generated injectors to dynamic injectors
...
Rewrite RuntimeModuleData to use hand-written code as we do not pack container module into runtime
This change introduces some overhead (up to 10% for the tests I ran) in some scenarios in IDE, that should be addressed later
2015-06-26 15:21:41 +03:00
Alexander Udalov
f52bc8a2d2
CLI: make message bold only for errors and warnings
...
Info, logging and output are not important enough to appear bold every time
2015-06-26 13:31:36 +03:00
Alexander Udalov
499579274d
Move MessageRenderer instances to top level
2015-06-26 13:31:35 +03:00
Michael Bogdanov
11ab2148b2
Fixed scipt execution classpath
2015-06-24 09:48:55 +03:00
Michael Nedzelsky
71729031c1
fix maven build
2015-06-24 01:35:25 +03:00
Dmitry Jemerov
5b1d393d05
report JIT time
2015-06-23 16:24:49 +02:00
Dmitry Jemerov
2216ec1b68
report GC time
2015-06-23 16:24:48 +02:00
Dmitry Jemerov
6ca4dd32cf
include module names in analyze and generate perf reports
2015-06-23 16:24:48 +02:00
Dmitry Jemerov
ebcd7de26b
report meaningful init times for subsequent runs when -Xrepeat flag is used
2015-06-23 16:24:47 +02:00
Dmitry Jemerov
669cd9e514
environment variable for enabling perf
2015-06-23 16:24:47 +02:00
Dmitry Jemerov
7cfb91192f
K2JVMCompiler: cleanup after J2K
2015-06-23 16:24:46 +02:00
Dmitry Jemerov
0600abd6bd
K2JVMCompiler: J2K
2015-06-23 16:24:46 +02:00
Dmitry Jemerov
d84c9fa59e
K2JVMCompiler: rename to .kt
2015-06-23 16:24:45 +02:00
nik
3136e5eefd
removed registration of deprecated extensions points without implementations
2015-06-23 15:59:24 +03:00
Nikolay Krasko
757b963731
Register JavaClassSupers service
2015-06-23 15:59:14 +03:00
Pavel V. Talanov
37bcd455b5
Make ModuleDescriptor#getPackage() return not null lazy object with lazy scope
...
Refactor: no need to create package view in order to obtain its subpackages
LazyPackageViewDescriptorImpl to replace PackageViewDescriptorImpl
This allows to avoid computations when package views are requested but their contents not necessarily queried
For example: DescriptorResolver.resolvePackageHeader()
2015-06-23 15:19:06 +03:00