Commit Graph

280 Commits

Author SHA1 Message Date
Alexander Udalov 4ca8a51234 Move Interner from deserialization to util
This class is not used in core and should not end up in kotlin-reflect.jar
2015-09-22 18:22:59 +03:00
Alexander Udalov 1878f892c1 Minor, fix annoying nullability warning 2015-09-22 18:22:58 +03:00
Michael Nedzelsky 34d4d2e7d9 ProtoCompareGenerated: get rid ofusage of internal details of NameResolver 2015-09-22 18:22:53 +03:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Michael Nedzelsky df283c8f02 add protoDifferenceUtils and implementation for calculation difference between proto data for classes. 2015-09-19 00:14:04 +03:00
Michael Nedzelsky 4c9ec56bc8 GenerateProtoBufCompare: optimization and generate difference and hashCode methods 2015-09-19 00:13:58 +03:00
Michael Nedzelsky be875d797f descriptors.proto: add skip_in_comparison option for (prepared to retire) constructor field in Class message 2015-09-19 00:13:51 +03:00
Michael Nedzelsky 20bae99166 GenerateProtoBufCompare: do not generate unnecessary empty lines 2015-09-19 00:13:48 +03:00
Stanislav Erokhin 377f752837 Minor. Moved deserialized util functions from top-level to object 2015-09-18 21:00:15 +03:00
Denis Zharkov 9c4564a5a6 Get rid of deprecated annotations and modifiers in project code 2015-09-18 09:34:27 +03:00
Dmitry Jemerov 35d9880266 don't initialize Kotlin caches if there is no Kotlin code to compile 2015-09-15 14:21:01 +02:00
Alexander Udalov 6cecc66d10 Improve ABI version from one number to "major.minor.patch" 2015-09-11 19:28:46 +03:00
Ilya Chernikov 96558c52ff Refactorings, reformatting code, applying code style and other cleanup 2015-09-10 22:30:57 +02:00
Ilya Chernikov c4719175f9 Refactoring startup and shutdown, refactoring service implementation, implementing error and info reporting to compiler output, idle autoshutdown mechanisms, fixing TargetId serializability, some other refactoring
Fixing stream to log handler (by removing non-working optimization), fixing idle time calculation, reporting refactorings
2015-09-10 22:30:56 +02:00
Alexey Tsvetkov 12181d274b Remove InlineRegistering interface 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov b07ae87e25 Update after rebase to new package parts 2015-09-08 05:49:35 +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 a660562743 Pass keyDescriptor to BasicMap using constructor 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov af144883dc Minor: make BasicStringMap properties parameters 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 06774423e0 Minor: remove unnecessary 'open' modifiers 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 08a11b627c Update INCREMENTAL_CACHE_OWN_VERSION 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 3d9d6d356b Simplify InlineFunctionsFilesMap 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 21b6b41112 Rename hasInlineTo->inlinedTo 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 06bfc5a16b Update inline incremental compilation for compile daemon 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov f25c10c4a1 Recompile everything if new function is added 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 43bcc4a6a6 Get rid of RecompilationDecision enum 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 8cc2e0f68d Always use class file as inline fun source 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov f9fe01047d Fix incremental packages 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 e90ecc48c5 Save target type in Kotlin Builder 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov b36c841b6e Use package facade name to search in dependent modules 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 46d3afaeba Use package facade internal name when processing changed inline functions 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 9a29750d0e Remove unused parameter 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 10a330f67a Recompile files depending on changed inline function between modules 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 2afaa82b57 Pass incrementalCaches as a doBuild parameter 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov bde78c2df2 Extract BasicMap from IncrementalCacheImpl 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 47019dd51f Pass BasicMap storageFile using constructor
It makes possible to extract BasicMap outside of IncrementalCacheImpl
and use it for some maps, that share between build targets
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 80094605eb Move persistent map parameters to constructor 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov cf35be90aa Fix value dump for incremental caches 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov e0419f956e Recompile only files that call changed inline functions 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov dfa5a420e6 Generalize InlineFunctionsMapExternalizer 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov f0d7ee4cdf Save changed functions to incremental cache 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov f2295676bf Minor: removed clear method from DirtyOutputClassesMap
It's already has clean method from BasicMap
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 701585c0b6 Minor: rename SourceToClassesMap#addSourceToClass->add
addSourceToClass is confusing, because in fact
this function is appending to SourceToClassesMap
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 2842b74dd8 Add ClassToSourceMap to incremental caches 2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 52a8fe018b Recompile files dependent on inline relationship
Right now, it's always recompiles dependent files,
even if inline function has not been changed.
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 64cc75c1ba Save info about inlined calls to incremental caches 2015-09-08 05:49:29 +03:00
Zalim Bashorov 879b1a8abb Try to detect target for output items using outputDir when sourceFiles is empty 2015-09-07 16:29:08 +03:00
Zalim Bashorov 01f3710211 Save dependencies of kotlin_module in cache 2015-09-07 16:29:07 +03:00
Zalim Bashorov ec62cccb1a Fix incremental compilation for new package parts 2015-09-07 16:29:06 +03:00