Commit Graph

421 Commits

Author SHA1 Message Date
Dmitry Petrov b950dd3d3e Proper light classes generation in presence of the new file facades.
Original commit: b1b845d44d
2015-09-07 16:28:53 +03:00
Dmitry Petrov 9373f7eab6 PackagePartClassUtils converted to Kotlin and refactored
Original commit: 5fdfe8df3c
2015-09-07 16:28:53 +03:00
Dmitry Petrov b686ef5e67 Generate ex-package parts as file facades.
Support new facade kind in stub building and incremental compilation.

Original commit: e050ff3271
2015-09-07 16:28:52 +03:00
Michael Bogdanov a5093f7fd5 TODO: support mapping processing in incremental compilation
Original commit: 0883781f8c
2015-09-07 16:28:49 +03:00
Dmitry Petrov c61115b274 Update debug tests & incremental compilation tests depending on part class naming
Original commit: 7af88f6797
2015-09-07 16:28:43 +03:00
Michael Bogdanov 25fafd4201 Incremental tests patched
Original commit: 0936351983
2015-09-07 16:28:39 +03:00
nik 3ff9dff919 kotlin builder: print 'label in local history' message to log with 'debug' level and once per build
(https://github.com/JetBrains/kotlin/pull/745)

Original commit: 0772bbeb4f
2015-09-04 11:31:00 +03:00
Ilya Chernikov 7bbbd35437 Refactoring after review
Original commit: 9bee97e810
2015-08-31 18:39:55 +02:00
Ilya Chernikov 09090497f6 Passing JPS process JVM memory options to daemon, refactoring options processing
Original commit: 2d45a37884
2015-08-31 18:39:54 +02:00
Ilya Chernikov 4145f431a0 Fixes after review
Original commit: 61de1c3212
2015-08-31 18:39:54 +02:00
ligee 9edbe4f0d6 Shutting down daemon from kotlin plugin on idea exit, passing jvm params to daemon launch
Original commit: 6e3ce69faa
2015-08-31 18:39:53 +02:00
ligee bd89b58a70 Adding compiler id digest calculation and check to detect replaced compiler jar, minor fixes and refactorings
Original commit: 39d6592e1f
2015-08-31 18:39:51 +02:00
ligee b26b1f7e9e Switching to stream for logging to simplify interaction with use sites
Original commit: d8be831339
2015-08-31 18:39:50 +02:00
ligee 0ac755da00 implementing daemon startup, basic check and restart machanisms, switching to kotlin everythere, additional logging and checks, in JPS plugin daemon compilation is off by default, turned on by "kotlin.daemon.enabled" property
Original commit: 7ab2208fc5
2015-08-31 18:39:50 +02:00
ligee a559e825ce incremental compilation via daemon
Original commit: b55894499f
2015-08-31 18:39:49 +02:00
Stanislav Erokhin 29305a7014 Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider
Original commit: d92e71861e
2015-08-27 12:01:13 +03:00
Michael Nedzelsky 87f9913f34 disable parallel compilation for Kotlin modules
Original commit: c061a3dbd8
2015-08-26 23:02:55 +03:00
Zalim Bashorov 7a7064677b Add test lookup tracking for local declarations
Original commit: 3465126bee
2015-08-24 19:50:10 +03:00
Zalim Bashorov 4032df4960 Add test for lookups to classifier members
Original commit: 3b21d391c5
2015-08-24 19:50:09 +03:00
Zalim Bashorov 60ce016ca5 Provide LookupLocation when resolve calls
Original commit: cca57af401
2015-08-24 19:50:04 +03:00
Zalim Bashorov 2d5f0f428c Add test for lookups to top level declarations
Original commit: 556c755e83
2015-08-24 19:50:03 +03:00
Zalim Bashorov 6ce54f59b8 No more record path to file which contains current scope in LookupTracker
Original commit: 673df1f085
2015-08-24 19:50:02 +03:00
Zalim Bashorov d3e29843aa Minor: ignore KDoc like comments which starts with /**
for example it can be used to mark lookups which we can't report yet

Original commit: 7790c2fd71
2015-08-24 19:50:02 +03:00
Zalim Bashorov b068d19bd2 Minor: fix warnings in AbstractIncrementalJpsTest.kt
* used new property access syntax
* splitBy -> split
* used string template instead of concatenation

Original commit: 6bed076228
2015-08-24 19:50:02 +03:00
Zalim Bashorov b983e9c868 Store lookup info inside testData code instead of separate file
Original commit: b32040f610
2015-08-24 19:50:01 +03:00
Alexander Udalov 2ea65e1cbc 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

Original commit: aba6ab1299
2015-08-24 01:29:58 +03:00
Nikolay Krasko 83f9db33ce Don't filter class files and jars from build script. Get a warning about their absence.
Original commit: 5b3c05d039
2015-08-20 18:48:38 +03:00
Michael Nedzelsky e2130c606e temporarily adjust timeout limit for testCancelLongKotlinCompilation
Original commit: 6a1eb91e18
2015-08-11 02:24:34 +03:00
Zalim Bashorov 27ac8066f6 Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.

Original commit: 7e250ab2ca
2015-08-08 02:08:19 +03:00
Zalim Bashorov 65031eb2c9 Minor: move some properties of AbstractIncrementalJpsTest to constructor
Original commit: 36f69d9fd6
2015-08-08 02:08:19 +03:00
Zalim Bashorov 8aa77592e8 Add ability to provide custom LookupTracker from JPS
Original commit: 7cd678e03b
2015-08-08 02:08:17 +03:00
Zalim Bashorov 28469ae2d0 UsageCollector -> LookupTracker
Original commit: 96696c6846
2015-08-08 02:08:14 +03:00
Denis Zharkov ec73f8a84f Implement raw types (de)serialization via special TypeCapabilities
Original commit: 32c23728b3
2015-08-06 08:18:18 +03:00
Michael Nedzelsky 3a377fbde4 fix KT-8648 Exception from incremental compilation
#KT-8648 Fixed

Original commit: e9d7bbf493
2015-07-29 15:14:45 +03:00
Michael Nedzelsky 010d721b38 IncrementalCacheImpl: do not recompile other files if all changes are private
Original commit: b3659486d9
2015-07-28 19:48:56 +03:00
Michael Nedzelsky d41a3e205c add tests for incremental compilation when only private part changed
Original commit: 62f6cc7f0b
2015-07-28 19:48:51 +03:00
Michael Nedzelsky 07238e41a0 add GenerateProtoBufCompare
Original commit: 2f304c0d99
2015-07-28 19:48:48 +03:00
Zalim Bashorov 90206fc21f Introduce UsageCollector
Original commit: 679d5fe496
2015-07-21 22:27:27 +03:00
Zalim Bashorov 8313978c9f incremental.cache -> incremental.components; IncrementalCacheProvider -> IncrementalCompilationComponents
Original commit: 91b87f41bc
2015-07-21 22:27:26 +03:00
Denis Zharkov e4a96670f4 Make project compilable after types enhancement
Original commit: 0a19fb7df2
2015-07-09 16:36:46 +03:00
Michael Nedzelsky 22c07485dd add tests for KT-8158 make Kotlin compiler invoked from IDEA cancellable
Original commit: 8cd978bfd8
2015-07-03 16:14:08 +03:00
Michael Nedzelsky f57c51c26e KotlinJpsBuildTest.kt: minor refactoring after converting
Original commit: ea0c14d7ad
2015-07-03 16:14:04 +03:00
Michael Nedzelsky 83502506ba convert KotlinJpsBuildTest to Kotlin: step 1: rename
Original commit: 13bda2de44
2015-07-03 16:14:01 +03:00
Michael Nedzelsky af93b58c86 convert KotlinJpsBuildTest to Kotlin: step 1: convert body
Original commit: e09411f45f
2015-07-03 16:13:58 +03:00
Pavel V. Talanov dbe85daeac Move CompilationCanceledStatus and related utils to "util" module
It should not be in "frontend" since "jps bare plugin" artifact does not include "frontend" module

Original commit: 15a4782a0c
2015-07-01 21:21:35 +03:00
Ilya Gorbunov 89086cc771 Compiler&plugin deprecations cleanup: string operations.
Original commit: 6d4e48ab9a
2015-06-29 17:06:43 +03:00
Ilya Gorbunov b2222119e0 Compiler&plugin deprecations cleanup: length, size, indices, tail and other collection operations.
Original commit: 32144257ec
2015-06-29 17:06:28 +03:00
Ilya Gorbunov 85230d7071 Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
Original commit: 2c31a1a345
2015-06-29 17:06:12 +03:00
Michael Nedzelsky e29047d719 add support for cancel compilation from IDE
#KT-8158 Fixed

Original commit: c462d23a0e
2015-06-29 16:41:16 +03:00
Evgeny Gerashchenko 1bf9e7abcc Made it possible to easily enable debug logging in incremental compilation tests.
Original commit: 041df7fd15
2015-06-24 18:01:51 +03:00