Commit Graph

41883 Commits

Author SHA1 Message Date
Mikhail Glukhikh e1ccd3afc5 Inspection: do not report anything with manual INFORMATION level offline
So #KT-20369 Fixed
So #KT-20333 Fixed
2017-10-06 16:21:04 +03:00
Toshiaki Kameyama ec64a7e422 Insert brackets in "Convert reference to lambda" if necessary
So #KT-16394 Fixed
2017-10-06 16:20:45 +03:00
Leonid Stashevsky 0348561cd2 Add annotation for default parameter value 2017-10-06 15:45:38 +03:00
e5l 62e87c873c Add annotation for parameter name in signatures 2017-10-06 15:45:37 +03:00
Dmitry Jemerov 8201ff3006 Fix properties plugin dependency for AS 2.3 2017-10-06 14:43:22 +02:00
Dmitry Jemerov d79b9c1b51 Allow plugin dependencies to be optional (no Maven in Android Studio) 2017-10-06 14:43:22 +02:00
Dmitry Jemerov 85254838f6 Allow building UAST for in-memory virtual files 2017-10-06 14:43:22 +02:00
Leonid Stashevsky a54c71eb30 Escape separator in jsr305 CLI tests 2017-10-06 15:34:33 +03:00
Alexey Andreev 9008791a54 JS: generate paths in source maps relative to .map file location
See KT-19818
2017-10-06 15:24:25 +03:00
Alexey Andreev 93a3026c6d JS: improve representation of KClass for primitive types
See KT-17933, KT-17629, KT-17760
2017-10-06 15:21:38 +03:00
Toshiaki Kameyama bbb571260b Fix 'Redundant override' when delegated member hides super type override
So #KT-20231 Fixed
2017-10-06 14:58:15 +03:00
Dmitry Savvinov 3daee25ce8 Fix tests generators 2017-10-06 13:18:53 +03:00
Mikhail Glukhikh 12ad1b2494 Open created actual class in editor #KT-20135 Fixed 2017-10-06 12:29:00 +03:00
Mikhael Bogdanov d9df2416a6 Refactor KotlinMultiplatformPlugin to allow Native extend it 2017-10-06 10:56:15 +02:00
Mikhail Glukhikh 8a3fed15f8 Report NO_ACTUAL_FOR_EXPECT etc. on relevant declaration
So #KT-20398 Fixed
2017-10-06 10:48:34 +03:00
Mikhail Glukhikh 472e6f462f Report some actual declaration problems on declaration name
Related to KT-20398
2017-10-06 10:48:24 +03:00
Ilya Gorbunov 5b7c3ee655 Advance bootstrap version to 1.1.60-dev-277 2017-10-05 22:48:12 +03:00
Sergey Igushkin f4ec8df187 Remove erroneous mavenCentral() from plugins DSL tests 2017-10-05 21:07:46 +03:00
Sergey Igushkin df99c4fe28 Fix compiler classpath discovery:
* Fix accidental filtering out the stdlib and reflect
* Fix module search in classpath: use moduleId instead of k-c-embeddable
2017-10-05 21:05:06 +03:00
Sergey Igushkin a2df5c38dd Remove the Kotlin version suffix from PluginsDslIT.kt 2017-10-05 21:05:06 +03:00
Sergey Igushkin 769759d6ce Add jcenter() to testProject repositories where needed. 2017-10-05 21:05:06 +03:00
Sergey Igushkin ad4fc7363e Install annotation-processor-example for Gradle integration tests. 2017-10-05 21:05:06 +03:00
Sergey Igushkin feee93186b Replace kotlin-annotation-processing -> (...)-gradle for Kapt 2017-10-05 21:05:06 +03:00
Ilya Gorbunov ae28af03d1 Add mavenCentral or jcenter to fetch external dependencies of our gradle plugin and stdlib 2017-10-05 21:05:05 +03:00
Ilya Gorbunov 865f2464ab Add aggregation task for gradle integration tests, rename task for gradle tests 2017-10-05 21:05:05 +03:00
Ilya Gorbunov 6a61d22ad3 Correctly setup maven local repository path and kotlin version for gradle integration tests 2017-10-05 21:05:05 +03:00
Sergey Igushkin 7af7696c44 Refactor UpToDatenessIT.kt
(cherry picked from commit 878ec8b)
2017-10-05 20:44:55 +03:00
Sergey Igushkin 5f593ac3f8 Add @Input to compiler args and compiler JAR. Add up-to-date-ness tests.
Issue #KT-20036 Fixed
Issue #KT-3463 Fixed
Issue #KT-16299 Fixed
Issue #KT-16915 Fixed

(cherry picked from commit e6d867f)
2017-10-05 20:24:01 +03:00
Sergey Igushkin ba649d0869 Fix POM attributes missing form Gradle plugins
(cherry picked from commit bc447e8)
2017-10-05 19:21:04 +03:00
Alexey Sedunov 3df43ccc6a Gradle: Respect 'implement' when collecting transitive dependencies of
IDEA module

This covers the cases when module is transitively reachable via
sequence of "compile"/"implement" dependencies
with at least one "implement" present (cases when module is transitively
reachable via "compile" only are handled automatically)

 #KT-16926 Fixed
2017-10-05 17:30:26 +03:00
Ilya Chernikov 69e5f11889 Fix test generation on some platforms 2017-10-05 16:14:27 +02:00
Ilya Chernikov f00fcddc76 Fix ide dependencies in gradle-plugin module 2017-10-05 16:14:26 +02:00
Ilya Chernikov f48d0f4b15 Revert accidental test ignoring 2017-10-05 16:14:26 +02:00
Sergey Igushkin 28567570ea Changes related to the 'expectedBy' Gradle configuration:
* Remove the `extendsFrom` relation;
* Refactor, reword warnings;
* Add the new expectedBy name to `KotlinGradleModelBuilder.kt`.

(cherry picked from commit de198f0)
2017-10-05 15:37:44 +03:00
Sergey Igushkin ff687131b1 Rename implement to expectedBy in Gradle, deprecate the old name
Issue #KT-20618 Fixed

(cherry picked from commit 6e0d378)
2017-10-05 15:37:43 +03:00
Mikhail Glukhikh aff689afba Allow "create actual" for function even if partially-compatible exists
So #KT-20163 Fixed
2017-10-05 15:28:37 +03:00
Mikhail Glukhikh e8321be380 Handle interface / abstract members correctly in "Create actual" fix
So #KT-20243 Fixed
2017-10-05 15:28:33 +03:00
Mikhail Glukhikh fe786ad7f3 Set primary constructor and its properties actual in "create actual"
So #KT-20044 Fixed
2017-10-05 15:28:30 +03:00
Mikhail Glukhikh d85c2dbe1f Specify relevant declaration type in "create actual" fix #KT-20325 Fixed 2017-10-05 15:28:28 +03:00
Mikhail Glukhikh 93109c0d0e Generate actual keyword for secondary constructors #KT-20008 Fixed 2017-10-05 15:28:25 +03:00
Mikhail Glukhikh 1e79d9791d Generate actual nested classes for actual owner class #KT-19937 Fixed 2017-10-05 15:28:22 +03:00
Mikhail Glukhikh e47feaf0b8 Add test for KT-20007 2017-10-05 15:28:21 +03:00
Stanislav Erokhin 4c456983eb Fix javac tests (add separate descriptor rendering) 2017-10-05 15:11:45 +03:00
Stanislav Erokhin 208051b314 Do not run annotation processor in javac integrated tests
Annotation processor can be found in javaslang-2.0.6.jar library.
This jar should be in classpath because it used in compiler
(not as annotation processor of course).
Before migration to GSK this library was also in classpath and it isn't
clear, why it not recognised as an annotation processor.
Anyway, for this tests we should'nt run annotation processors
2017-10-05 15:11:44 +03:00
Toshiaki Kameyama e92af08c98 Introduce "Assign to property" quick-fix #KT-17204 Fixed 2017-10-05 14:25:28 +03:00
Dmitry Petrov 67a50e92d0 Load annotations for default getter and setter
#KT-14697 Fixed
2017-10-05 10:24:29 +03:00
Mikhail Zarechenskiy c6a00af2f0 Fix test data after f3344ec 2017-10-05 10:21:26 +03:00
Ilya Gorbunov 3fd1a0f14b Update maven-archetype plugin to 3.0.1
To get the fix for https://issues.apache.org/jira/browse/ARCHETYPE-488
2017-10-05 02:45:01 +03:00
Mikhail Zarechenskiy a06203512f Minor, rename variable: expected -> actual 2017-10-05 00:10:46 +03:00
Mikhail Zarechenskiy 68a2ba4918 Fix function, expected declaration can be without expect modifier
For example, for nested classes of expected class
2017-10-05 00:10:45 +03:00