Commit Graph

643 Commits

Author SHA1 Message Date
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
Zalim Bashorov a8e6d8fdfb Add the support checking lookups after modifications
Original commit: cc3c76ae67
2015-10-27 19:37:09 +03:00
Zalim Bashorov ae8748d593 Minor: print "<root>" for root package instead empty string in Lookup tests.
Additionally fixed warnings.

Original commit: 2d859d6191
2015-10-27 19:37:09 +03:00
Yan Zhulanow 4899abe828 Fix incremental test (DefaultImpls are not generated for an empty interface)
Original commit: 10eed8f7cd
2015-10-27 02:46:57 +03:00
Dmitry Petrov abac00df69 KT-6165, KT-9547: fix testData for JPS plugin.
Test contains effectively single module (with circular dependencies),
and should not have conflicting declarations.
Rename the package in a library used in this test.

 #KT-9547 Fixed

Original commit: 1a58636ea9
2015-10-22 11:37:01 +03:00
Dmitry Petrov 3b8d50f06e OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt

Original commit: 5170341624
2015-10-22 10:45:49 +03:00
Max Kammerer 13aedbd161 Incremental compilation test data update after making package property backing field private
Original commit: 715893446c
2015-10-19 21:21:02 +03:00
Alexey Tsvetkov 406783b53d Code cleanup
Original commit: e9e42b0251
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov b4033f2bcd Fix tests
Original commit: 6f96484e1f
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov 7dd7ec447d Drop @inline from tests and incremental compilation
Original commit: d87ce33458
2015-10-19 20:45:01 +03:00
Ilya Chernikov 79a82d9466 Setting property that controls application environment lifetime for daemon builds
Original commit: 376c188cf7
2015-10-19 18:01:45 +02:00
Dmitry Petrov 1bd1fbeee4 Drop package facades:
- update tests
- cleanup JetTyMapper after rebase

Original commit: dda508234f
2015-10-19 16:03:22 +03:00
Dmitry Petrov 099d588802 Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest
Original commit: 639300a89d
2015-10-19 16:03:21 +03:00