Commit Graph

477 Commits

Author SHA1 Message Date
Ilya Chernikov c5da7e1ea2 Refactorings, reformatting code, applying code style and other cleanup
Original commit: 96558c52ff
2015-09-10 22:30:57 +02:00
Ilya Chernikov 17ca379de2 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

Original commit: c4719175f9
2015-09-10 22:30:56 +02:00
Dmitry Petrov 863422fcee Incremental compilation test for @file:JvmName
Original commit: 37d5a16a3d
2015-09-08 13:02:57 +03:00
Alexey Tsvetkov bdeab23fee Add file without usage to classInlineFunctionChanged test case
Original commit: 93776b711e
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov ce43ba5db4 Remove InlineRegistering interface
Original commit: 12181d274b
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 76f80a44b6 Fix incremental compilation for delegated property with inline accessor
Original commit: a22e15449d
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 3c10ad29a6 Update build logs in incremental tests
Original commit: 196e59247f
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 3e5bc828b9 Update after rebase to new package parts
Original commit: b07ae87e25
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov db1fed64b2 Use simple data class TargetId instead of Module to get incremental cache
Original commit: 7e515e3820
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov f315d6d64d Change one package part, then another at different steps
Original commit: 45dae5e1a4
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 5f59e24523 Remove duplicating simple test case
Original commit: d9e9f11028
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 010b348712 Add test for inline function lines changed only
Original commit: 5d305a7286
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 82dc684309 Add incremental compilation inline call site tests
Original commit: 8d1480e877
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 1e20f25119 Fix incremental compilation of inline call assigned to val
Original commit: 61423a19f0
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 3e9b92bf7f Pass keyDescriptor to BasicMap using constructor
Original commit: a660562743
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 55ca868be3 Minor: make BasicStringMap properties parameters
Original commit: af144883dc
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov bee0ec76d6 Minor: remove unnecessary 'open' modifiers
Original commit: 06774423e0
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 4e09fc18e8 Update INCREMENTAL_CACHE_OWN_VERSION
Original commit: 08a11b627c
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 6e67d3edaf Simplify InlineFunctionsFilesMap
Original commit: 3d9d6d356b
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov ccda1d2fbc Rename hasInlineTo->inlinedTo
Original commit: 21b6b41112
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 75fbd4977e Update inline incremental compilation for compile daemon
Original commit: 06bfc5a16b
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 12bb9092c3 Recompile everything if new function is added
Original commit: f25c10c4a1
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov f36574dd0a Get rid of RecompilationDecision enum
Original commit: 43bcc4a6a6
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 53ed47ade2 Always use class file as inline fun source
Original commit: 8cc2e0f68d
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 34fe09dac1 Fix incremental packages
Original commit: f9fe01047d
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 46233cb721 Fix modules tests
Original commit: b25dfabbcc
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 162f42c442 Use both target name and target type to get incremental cache from backend
Original commit: 0988b21e9c
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 3b877e4797 Save target type in Kotlin Builder
Original commit: e90ecc48c5
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 2f7aadecea Use package facade name to search in dependent modules
Original commit: b36c841b6e
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 2a2315756a Add another package part with inline to multi-module inline test
Original commit: 44e13dd697
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov c6dc98555f Add file without inline call to multi module test
Original commit: 12ebe4426c
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 9c71be670b Use package facade internal name when processing changed inline functions
Original commit: 46d3afaeba
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 84944e862f Remove unused parameter
Original commit: 9a29750d0e
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 89098a9ff8 Recompile files depending on changed inline function between modules
Original commit: 10a330f67a
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov bb14bb8d09 Pass incrementalCaches as a doBuild parameter
Original commit: 2afaa82b57
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov dad3f8f144 Flush incremental caches after each test run
Original commit: a3145bc798
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov a7cf6bbf9a Extract BasicMap from IncrementalCacheImpl
Original commit: bde78c2df2
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 20db45c3cf 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

Original commit: 47019dd51f
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 1308ff2a3b Move persistent map parameters to constructor
Original commit: 80094605eb
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov ec0ebd9a2e Fix value dump for incremental caches
Original commit: cf35be90aa
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov eb10544231 Recompile only files that call changed inline functions
Original commit: e0419f956e
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 6a7f1bc7fe Generalize InlineFunctionsMapExternalizer
Original commit: dfa5a420e6
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 8b99bd7002 Save changed functions to incremental cache
Original commit: f0d7ee4cdf
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 7fc81ca605 Minor: removed clear method from DirtyOutputClassesMap
It's already has clean method from BasicMap

Original commit: f2295676bf
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov b35e7c1f5b Minor: rename SourceToClassesMap#addSourceToClass->add
addSourceToClass is confusing, because in fact
this function is appending to SourceToClassesMap

Original commit: 701585c0b6
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov d6fd20e429 Add ClassToSourceMap to incremental caches
Original commit: 2842b74dd8
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov c150468dc1 Recompile files dependent on inline relationship
Right now, it's always recompiles dependent files,
even if inline function has not been changed.

Original commit: 52a8fe018b
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov ed234ae7b5 Save info about inlined calls to incremental caches
Original commit: 64cc75c1ba
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov c660628162 Add simple inline incremental compilation test cases
Original commit: 32c041d4db
2015-09-08 05:49:29 +03:00
Zalim Bashorov d9b5b94a0e Minor: fix testdata files
(build.log files for incremental compilation tests)

Original commit: 2f9f5a3cd5
2015-09-07 16:29:09 +03:00