Commit Graph

673 Commits

Author SHA1 Message Date
Yan Zhulanow 84fea1a41d Fix tests: "infix modifier required" and "operator modifier required" errors
Original commit: 9d1af5a17e
2015-11-27 15:51:11 +03:00
Yan Zhulanow 57ad58363f Fix "operator modifier required" errors in project
Original commit: 87799e9b6b
2015-11-27 15:51:11 +03:00
Zalim Bashorov 7987943f3a Minor: add more logging in KotlinBuilder
Original commit: 7faa886d26
2015-11-27 15:07:57 +03:00
Zalim Bashorov 663d0f2e7e Return platform independent path in IncrementalCacheImpl::getClassFilePath
Fix ExperimentalIncrementalJpsTestGenerated.PureKotlin.testFunctionBecameInline on Windows.

Original commit: 93eb09a654
2015-11-24 16:05:46 +03:00
Ilya Gorbunov 039c310c55 Replace map { ... }.filterNotNull() with mapNotNull { ... }
Original commit: 32151c077e
2015-11-21 00:54:01 +03:00
Mikhail Glukhikh cc0adf19a9 Exposed visibility deprecation warnings made errors + relevant test fixes
Original commit: 4e44466cf9
2015-11-20 15:21:01 +03:00
Mikhail Glukhikh 0b594f08d5 Effective visibility source code fix: jps plugin
Original commit: 3d75ebb859
2015-11-20 09:56:19 +03:00
Michael Nedzelsky e6af8e20a5 fix KT-10064 Regression: Error with multiple main functions within a single package
#KT-10064 Fixed

Original commit: aa8f3df9a8
2015-11-19 19:59:27 +03:00
Dmitry Petrov cdda7e87f7 Drop createQualifier: testData update
Original commit: 9856af48ca
2015-11-18 14:35:53 +03:00
Dmitry Petrov fdef6653e2 Properly resolve values in 1st qualifier part (see implicitReceiverProperty test).
Look into QUALIFIER for left-most "unrolled" qualified expression
    in CallExpressionResolver#getQualifiedExpressionTypeInfo.
Drop some unused functions.

Original commit: b532fa2bbf
2015-11-18 14:35:53 +03:00
Dmitry Petrov 33e89e9c16 Reuse package/class qualifier prefix resolution for qualified expression resolution.
Original commit: 3556f9751e
2015-11-18 14:35:52 +03:00
Zalim Bashorov b06a5fb5e2 Batch recording lookups in daemon
Original commit: 89791dc85c
2015-11-17 17:25:38 +03:00
Zalim Bashorov 60200f2a65 Fix tracking lookups when compile using daemon
Original commit: 6305bbda5d
2015-11-17 17:25:37 +03:00
Mikhail Glukhikh 97f2891ae9 Diagnostics corrected for smart cast impossible
Original commit: 03287d5d66
2015-11-17 10:26:26 +03:00
Michael Nedzelsky a3fd9b8209 Hack for checking access to internal declarations during incremental compilation
Original commit: e5e4f9e775
2015-11-17 00:26:43 +03:00
Denis Zharkov dfcb6ec84d Implement serialization of inner types
Original commit: 7500447e72
2015-11-13 14:59:03 +03:00
Ilya Chernikov 084df28a14 Additional fix to the previous one: Disabling parallel builds without daemon again and undoing apprpriate fix to broken tests problem, since it effectively cancelled fix for parallel building itself and was causing exceptions on heavy builds
(cherry picked from commit bb66776)

Original commit: 20ca8cd435
2015-11-12 19:15:14 +01:00
Nikolay Krasko 6f3c2c1493 Test that fails with package prefixes but works good without them
Original commit: 33fd247bde
2015-11-12 19:19:42 +03:00
Ilya Chernikov e5cb56662e Disabling parallel builds without daemon again and undoing apprpriate fix to broken tests problem, since it effectively cancelled fix for parallel building itself and was causing exceptions on heavy builds
(cherry picked from commit 0610452)

Original commit: 4643d7fc4d
2015-11-12 17:15:14 +01:00
Zalim Bashorov 2e3d3a5117 Minor: add more logging to KotlinBuilder
Original commit: b7772f32ce
2015-11-12 18:39:43 +03:00
Zalim Bashorov 8c43a177db Add new tests for incremental compilation and disable the one for current IC
Original commit: ca71f929f9
2015-11-12 13:43:25 +03:00
Zalim Bashorov e6493a0f39 Add separate build logs for tests which result is different in the new incremental compilation
Original commit: e1ad942804
2015-11-12 13:43:24 +03:00
Zalim Bashorov f6add8e647 Add the ability to have separate log file for experimental incremental compilation tests
Original commit: 5a6c04357b
2015-11-12 13:43:23 +03:00
Zalim Bashorov b00f51c523 Make accessingFunctionsViaRenamedFileClass test more sensible
Original commit: 5ca7ce2b50
2015-11-12 13:43:22 +03:00
Zalim Bashorov 5134cf464c ChangesInfo -> CompilationResult
Original commit: f144bb38da
2015-11-12 13:43:21 +03:00
Zalim Bashorov 6380fab69a Integrate components of the new incremental compilation
Original commit: d4a18a3ef2
2015-11-12 13:43:20 +03:00
Zalim Bashorov 961e8e249d Minor: re-sort statements in KotlinBuilder::doBuild
Original commit: 4caf1b54f7
2015-11-12 13:43:19 +03:00
Zalim Bashorov 98bfb09cc0 Minor: get rid of KotlinBuilder.ChangesProcessor
Original commit: 3ce84d04e6
2015-11-12 13:43:19 +03:00
Michael Nedzelsky ba12afbbb9 fix access from tests to internal elements in production code in case of circular dependency
Original commit: 5b59fc74bc
2015-11-11 19:16:21 +03:00
Ilya Gorbunov 934a969c2f Restore correct sorting order (after cleanup in eec9d11a)
Original commit: 7844030ba4
2015-11-11 19:00:09 +03:00
Nikolay Krasko b77f4ffe9f Teach index working with source roots with package prefix
#KT-9167 Fixed

Original commit: 23e35ab112
2015-11-10 01:50:09 +03:00
Nikolay Krasko 048725c3f0 Add prefix information for Java source root (KT-9167 in progress)
#KT-9167 In Progress

Original commit: c0739ef53c
2015-11-10 01:50:08 +03:00
Alexey Tsvetkov bc29f06187 Minor: generate tests
Original commit: 7c752c1463
2015-11-06 20:29:31 +03:00
Alexey Tsvetkov e6c13d7fef Fix minor issues after review
Original commit: 8f43714c49
2015-11-06 16:46:40 +03:00
Alexey Tsvetkov f116f4907f Generate tests
Original commit: 7d104d02dd
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov dae9258911 Add incremental compilation tests with lookup cache enabled
Original commit: ce7d1eb8e2
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov 7616176ca6 Extract LookupStorage from LookupTrackerImpl
Original commit: a3aa91551c
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov 5f22d0088d Minor: rename file LookupTrackerImpl.kt -> LookupStorage.kt
Original commit: 8b4d0ea077
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov 1f574462f5 Fix minor naming/formatting issues after review
Original commit: 322815c7de
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 7fc692710f Use new lookup tracker only when experimental incremental compilation is enabled
Original commit: 67878fe13a
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 4e99ad81a5 Hash files without collisions
Original commit: 7ebc58c690
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov a72be353e2 Remove entries when files are removed
Original commit: 7572fb47d3
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 700170c2df Hash file names
Original commit: 87d836cd67
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 90e7de940b Move BasicMapsOwner
Original commit: 2160948980
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov b65376a016 Move all incremental cache value/externalizing types to corresponding files
Original commit: dae5b8e39e
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov e7ac1c839c Extract BasicMapsOwner
Original commit: 9564a7a828
2015-11-06 16:44:34 +03:00
Alexey Tsvetkov 376fb15123 Move LookupMap
Original commit: f6f300d903
2015-11-06 16:43:32 +03:00
Alexey Tsvetkov 4e5b148bb1 Save lookups to incremental cache
Original commit: c9663340c9
2015-11-06 16:43:32 +03:00
Michael Nedzelsky 02543e165b fix KT-9843 Bug in incremental compilation: module is not recompiled when optional parameter added
and KT-8434 Removing parameter with default value from function in different module breaks incremental compilation

#KT-9843 Fixed

#KT-8434 Fixed

Original commit: 981d471ebe
2015-11-06 07:45:46 +03:00
Ilya Gorbunov 7e4395a173 Replace deprecated join with joinToString
Original commit: f3ff2e2e76
2015-11-06 01:12:00 +03:00