Commit Graph

820 Commits

Author SHA1 Message Date
Alexey Tsvetkov a763af2ae0 Add incremental tests for parameters with default values
Original commit: d352905a72
2016-03-10 23:36:40 +03:00
Alexey Tsvetkov 1e279a8c35 Test IC for adding private inline function
#KT-9681 fixed

Original commit: a3893a3c2e
2016-03-04 15:11:27 +03:00
Alexey Tsvetkov 378aafae69 Add missing enum entry added/removed tests
#KT-6200 fixed

Original commit: 9523a8b88d
2016-03-04 14:43:52 +03:00
Alexey Tsvetkov cf417d5c9f Pass isPackage = false when processing class proto
KT-8487

Original commit: ba386f031b
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov cd0c962c7c Add dummy files to fix gradle incremental tests
Gradle won't call kotlin task if source directory is empty

KT-8487

Original commit: 402436f3eb
2016-03-03 16:45:19 +03:00
Alexey Tsvetkov 5bc13aa571 Build incremental testing utils to kotlin-build-common-test.jar
KT-8487

Original commit: 7a7562d685
2016-03-03 16:45:19 +03:00
Alexey Tsvetkov 0e2f3ab201 Move incremental test modification utils to build-common
KT-8487

Original commit: 8df209b436
2016-03-03 16:45:17 +03:00
Alexey Tsvetkov 5bb64ee283 Extract incremental test modification utils
KT-8487

Original commit: f4aed97d52
2016-03-03 16:45:17 +03:00
Alexey Tsvetkov f18ec129fb Remove dependency on kotlin-test in IC test
KT-8487

Original commit: 4f2f0f0a60
2016-03-03 16:45:17 +03:00
Alexey Tsvetkov 36235e85e7 Reuse code from build-common
KT-8487

Original commit: f93562299c
2016-03-03 16:45:16 +03:00
Ilya Chernikov 8741456ea0 Preparing build lib for migrating gradle plugin on it: moving ArgumentUtils from jps plugin, adding buildUtils with incremental compilation functions extracted from kotlinBuilder, minor tweak to lookup storage dump
KT-8487

Original commit: d3d854ec7d
2016-03-03 16:45:13 +03:00
Pavel V. Talanov 8f456556f6 Update existing test data depending on diagnostic parameter rendering
Original commit: a4c005fefd
2016-02-26 14:45:11 +03:00
Zalim Bashorov f511d4986f Minor: fix testdata
Original commit: 61cc8394e8
2016-02-20 13:11:23 +03:00
Zalim Bashorov 998dfacd5f KotlinBuilder: use proper API to update Java mappings
Original commit: d832a3d290
2016-02-19 19:11:10 +03:00
Zalim Bashorov e99513da07 New IC: don't fail on unsupported difference kinds and process SUPERTYPE_ID_LIST correctly
Original commit: 05eff9028f
2016-02-19 19:10:44 +03:00
Stanislav Erokhin cc99898fed Update copyright in generated tests.
Original commit: 341b251e4d
2016-02-16 18:59:10 +03:00
Mikhail Glukhikh cb985c0d13 Effective visibility: concise diagnostic messages #KT-10761 Fixed
Also #KT-9760 Fixed

Original commit: 1bbc46729c
2016-02-16 15:58:50 +03:00
Zalim Bashorov 46253721f1 Minor: drop content from touch files
Original commit: 45f21bc7fd
2016-02-10 22:56:10 +03:00
Zalim Bashorov 74de0e6e7c New IC: add processing changes for constants
Original commit: ced23c02bd
2016-02-10 22:56:09 +03:00
Zalim Bashorov e30ef13260 KotlinBuilder: don't request additional round when it's unnecessary & fix warnings
Original commit: e33e31ad16
2016-02-10 21:37:12 +03:00
Zalim Bashorov eee7314509 Caching results of JpsUtils#isJsKotlinModule
#KT-9636 Fixed

Original commit: 88c8f24887
2016-02-10 21:30:25 +03:00
Zalim Bashorov df46352af0 Improve test multifilePackagePartMethodAdded: add file which should not be affected
Original commit: cf173d6963
2016-02-09 23:27:26 +03:00
Zalim Bashorov e7dcf02ffe Introduce TestingContext to pass data between tests and KotlinBuilder; introduce BuildLogger to log build events (build finished, files marked as dirty) in KotlinBuilder
Original commit: f6e7f8c3c0
2016-02-09 23:27:25 +03:00
Zalim Bashorov d55fafae93 Log final exit code instead of intermediate; change log level for build result to INFO
Original commit: 4ec3865830
2016-02-09 23:27:24 +03:00
Zalim Bashorov ba8c35ce23 FIx possible NPEs when try to use TestModuleProperties in IDEA 144.x
#EA-78931 Fixed

Original commit: eacd50c4dc
2016-02-09 15:55:16 +03:00
Zalim Bashorov 964db84042 Allow to use internal declarations from special modules in compiler (JPS)
(e.g. IDEA 16 gradle tests loaded in separate module)

 #KT-10595 Fixed

Original commit: 3c4cb54573
2016-02-08 15:42:49 +03:00
Zalim Bashorov 5044e2599b J2K KotlinBuilderModuleScriptGenerator: cleanup
Original commit: e328c24857
2016-02-08 15:42:48 +03:00
Zalim Bashorov 9bf58b823e J2K KotlinBuilderModuleScriptGenerator: convert
Original commit: 21e69a0a4c
2016-02-08 15:42:48 +03:00
Zalim Bashorov 0e147d14e3 J2K KotlinBuilderModuleScriptGenerator: .java -> .kt
Original commit: d5030335b6
2016-02-08 15:42:48 +03:00
Dmitry Petrov 2217761694 Better diagnostics for conflicting overloads.
Skip declarations without sources in reporting, not when determining redeclaration groups:
this allows emitting informative diagnostics for incremental compilation.
Provide containing declaration with "kind", e.g., "package '<root>'", "class A", and so on.

Original commit: 4afe98a0f6
2016-02-03 15:53:07 +03:00
Dmitry Petrov 4ff15aa21f Fix KT-10764 IDEA doesn't show overload conflict between constructor and function...
When checking for overloads in package, consider functions and top-level class constructors as possibly conflicting between each other. NB OverloadUtil uses containing package scope from module descriptor.

Change diagnostic message for CONFLICTING_OVERLOAD: it's misleading in case of fun vs constructor conflict.

Add custom multifile test for diagnostics in IDE (probably not the best; should preprocess file content if it's required to check highlighting in multiple files, not only in the first file).

Add test for KT-10765 Incremental compilation misses overload conflict between constructor and function ...

Original commit: 65f754ffca
2016-02-02 16:21:26 +03:00
Ilya Gorbunov 97d529d786 Cleanup RC deprecations in compiler and plugin.
Original commit: 744a7a83f7
2016-01-27 18:34:30 +03:00
Alexey Tsvetkov 7ea3a50848 Make LookupStorage thread safe
#KT-10792: Fixed

Original commit: 0a48d83176
2016-01-27 12:31:14 +03:00
Alexey Tsvetkov 5ac514efaf Move InlineFunctionsMap to IncrementalCacheImpl
Original commit: 44b3159867
2016-01-27 12:28:44 +03:00
Alexey Tsvetkov 4453f6c378 Fix updating java mappings for multifile facade
Original commit: 2abc422577
2016-01-27 12:28:44 +03:00
Alexey Tsvetkov 08e62d3303 Recompile subtypes when class member is changed
Original commit: a474165a8f
2016-01-27 12:28:44 +03:00
Zalim Bashorov 26debc1dec Use interner in LookupTracker implementations to reduce memory consuming
Original commit: fb21ef2e1d
2016-01-26 23:14:20 +03:00
Yan Zhulanow 63282ffa9a "Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
Original commit: 3fa506fd45
2016-01-26 17:21:44 +03:00
Zalim Bashorov 8a1a5f2bb1 Rename module "build" -> "build-common"
Original commit: aebf681809
2016-01-26 14:32:21 +03:00
Stanislav Erokhin 627384fe11 KT-10772 Problem with daemon on Idea 15.0.3 & 1-dev-25
# KT-10772 Fixed

Original commit: aca19ed27a
2016-01-24 12:29:23 +03:00
Alexey Tsvetkov 2219901fe7 Minor: fix test data
Original commit: cfc410261b
2016-01-22 21:04:46 +03:00
Alexey Tsvetkov 5b78fe9160 Optimize adding lookups to lookup storage
Original commit: f63a9ee556
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov d77e5a2b59 Recompile implicit type usages when class signature is changed
Original commit: f32ff42ba3
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov ecd7b0c9d6 Add lookup for every expression's type
Original commit: 310a995bb1
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov cc979e34b1 Add incremental compilation test with change of annotation class
Original commit: 1ef615e020
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov 9d71fd4b21 Improve proto comparison test with changes of annotation list
Original commit: 5ce692a75c
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov 2a1bde9496 Add proto comparison tests with changes of class/member flags
Original commit: 58a91b3d20
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov 5ded4dd4b0 Add incremental compilation tests with changes of companion object
Original commit: a7c432ebe8
2016-01-22 16:01:35 +03:00
Ilya Gorbunov 00020f6d74 Fix testData in compiler: add collections and ranges package to fq-names.
Original commit: f4822cd757
2016-01-22 05:54:38 +03:00
Ilya Chernikov 4c7dfda080 Move compiler running utils to common module
Original commit: 6198d0abbc
2016-01-21 19:47:06 +03:00