Commit Graph

655 Commits

Author SHA1 Message Date
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
Zalim Bashorov 35cb01217e Add tests for lookups to enum static scope and to companion object scope
Original commit: 04fed203e4
2015-11-04 22:15:37 +03:00
Zalim Bashorov 1a566ee995 Track lookups for nested/inner Java classes
Original commit: a6855116b8
2015-11-04 22:09:55 +03:00
Stanislav Erokhin dbef220656 Minor. fix testdata
Original commit: 87f32ef07b
2015-11-04 14:28:29 +03:00
Ilya Chernikov 121caa0d4e Adding possibility to skip params inheritance on daemon jvm options creation, refactoring appropriate api, using it to fix tests
Original commit: b71fec985f
2015-11-03 21:56:31 +01:00
Ilya Chernikov 1f62b03f13 Enabling parallel builds in JPS without daemon, enabling application environment disposing in tests, introducing keepalive property constant
Original commit: 10036d7ef3
2015-11-03 14:18:22 +01:00
Dmitry Jemerov 5fe43b4e72 remove Jet from names of classes in tests: phase 2
Original commit: 19af88738b
2015-11-03 14:06:04 +01:00
Zalim Bashorov b4fdd8ffbb Minor: fix generating LookupTracker tests
Original commit: 54cb575819
2015-11-03 14:01:47 +03:00
Mikhail Glukhikh 71ad871488 More precise diagnostics of smart cast impossible #KT-7240 Fixed
Original commit: 41ebfd025e
2015-11-03 13:38:51 +03:00
Zalim Bashorov 64a1cac2b9 Add test for lookups in generic constraints; Add cases with lookup to companion and nested object;
Original commit: 5d72629b0b
2015-11-02 18:18:37 +03:00
Zalim Bashorov e41b323fb4 Add tests for lookups to declarations form Java
Original commit: 4cb5398c04
2015-11-02 18:18:32 +03:00
Zalim Bashorov ee0ec87da6 Add tests for lookups to deserialized and java scopes
Original commit: 519172f182
2015-11-02 18:18:32 +03:00
Zalim Bashorov 171bfa8d67 Minor: fix testdata
Original commit: 3484c43c8c
2015-11-02 18:18:31 +03:00
Zalim Bashorov 22a2f03219 Added "touch" command to incremental tests and implemented; Implemented more accurate checking lookups after modifications
Original commit: 24037c8bf4
2015-11-02 18:18:31 +03:00
Zalim Bashorov 6a7fcd61fe Refactoring: introduced val location: LocationInfo? in LookupLocation and use it in LookupTracker::record
Original commit: a5d8b47083
2015-11-02 18:18:29 +03:00
Michael Nedzelsky 731268085f fix KT-9299 In a project with circular dependencies between modules, IDE reports error on use of internal class from another module, but the corresponding code still compiles and runs.
#KT-9299 Fixed

Original commit: 6ebe0c30ec
2015-10-30 14:40:46 +03:00
Mikhail Glukhikh ef395369bf Cleanup: get rid of effective visibility warnings
Original commit: f8a70302ac
2015-10-28 14:31:51 +03:00
Zalim Bashorov d7a4c9a54d Track lookups in JavaSyntheticPropertiesScope
Original commit: a5708c9c0d
2015-10-27 19:38:32 +03:00
Zalim Bashorov ef1d6efe1e Allow to fail on initial build in incremental tests if testdata contains "init-build.log" file
Original commit: 412e078a6b
2015-10-27 19:37:10 +03:00