Commit Graph

455 Commits

Author SHA1 Message Date
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
Zalim Bashorov 721dca2087 Minor fixes in KotlinJpsBuildTest
Original commit: 5193e6a181
2015-09-07 16:29:09 +03:00
Zalim Bashorov 13bc63a62f Try to detect target for output items using outputDir when sourceFiles is empty
Original commit: 879b1a8abb
2015-09-07 16:29:08 +03:00
Zalim Bashorov 6d76d4a9d0 Save dependencies of kotlin_module in cache
Original commit: 01f3710211
2015-09-07 16:29:07 +03:00
Zalim Bashorov 5ed39e3724 Fix incremental compilation for new package parts
Original commit: ec62cccb1a
2015-09-07 16:29:06 +03:00
Michael Bogdanov 77487d72b8 Jps test fix
Original commit: 378740f4be
2015-09-07 16:28:59 +03:00
Michael Bogdanov ab61199599 Generate calls through new minifacades
Original commit: 47635c19a2
2015-09-07 16:28:59 +03:00
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